value property
The current value of the object.
When the value changes, the callbacks registered with addListener will be invoked.
Implementation
@override
T get value {
return _value;
}
set
value
(T newValue)
Replaces the value and notifies listeners.
Does nothing when the new value is == to the current one.
Implementation
set value(T newValue) {
if (_value == newValue) {
return;
}
_value = newValue;
notifyListeners();
}