originX property Null safety

double originX

Origin x in normalized coordinates (0.5 = center, 0 = left, 1 = right).

Implementation

double get originX => _originX;
void originX=(double value)

Change the _originX field value. originXChanged will be invoked only if the field's value has changed.

Implementation

set originX(double value) {
  if (_originX == value) {
    return;
  }
  double from = _originX;
  _originX = value;
  if (hasValidated) {
    originXChanged(from, value);
  }
}