value property
The current value stored in this notifier.
Implementation
@override
T get value => _value;
set
value
(T newValue)
Sets a new value and notifies listeners if the new value is not equal to the current value.
Implementation
set value(T newValue) {
if (_value == newValue) {
return;
}
_value = newValue;
_onChange();
}