x property

  1. @override
double get x
override

Implementation

@override
double get x => _x;
  1. @override
set x (double value)
override

Change the _x field value. xChanged will be invoked only if the field's value has changed.

Implementation

@override
set x(double value) {
  if (_x == value) {
    return;
  }
  double from = _x;
  _x = value;
  if (hasValidated) {
    xChanged(from, value);
  }
}