value property

double value
inherited

The current value held.

Implementation

T get value {
  assert(!isDisposed);
  return _value;
}
void value=(double newValue)
override

Sets a new value and notifies listeners if the value is different than the old value.

Implementation

set value(double newValue) {
  if (value != newValue) {
    var oldValue = value;
    setValue(newValue);
    addChangeToStream(OffsetChange(oldValue, newValue, false));
  }
}