originY property Null safety

double originY

Origin y in normalized coordinates (0.5 = center, 0 = top, 1 = bottom).

Implementation

double get originY => _originY;
void originY=(double value)

Change the _originY field value. originYChanged will be invoked only if the field's value has changed.

Implementation

set originY(double value) {
  if (_originY == value) {
    return;
  }
  double from = _originY;
  _originY = value;
  if (hasValidated) {
    originYChanged(from, value);
  }
}