value property

  1. @override
T get value
override

The current value of the object. When the value changes, the callbacks registered with addListener will be invoked.

Implementation

@override
T get value {
  reportRead();
  return _value as T;
}
  1. @override
set value (T newValue)
override

Implementation

@override
set value(T newValue) {
  if (_value == newValue) return;
  _value = newValue;
  refresh();
}