rotation property

double get rotation

Implementation

double get rotation => _rotation;
set rotation (double value)

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);
  }
}