rotation property Null safety

double rotation
inherited

Implementation

double get rotation => _rotation;
void rotation=(double value)
inherited

Change the _rotation field value. rotationChanged will be invoked only if the field's value has changed.

Implementation

set rotation(double value) {
  if (_rotation == value) {
    return;
  }
  double from = _rotation;
  _rotation = value;
  if (hasValidated) {
    rotationChanged(from, value);
  }
}