hasChanged property Null safety

bool hasChanged

Checks if its actual value is different than previousValue

Implementation

bool get hasChanged => prevScaleState != scaleState;