value property

T? value
override

The current value stored in this notifier.

When the value is replaced with something that is not equal to the old value as evaluated by the equality operator ==, this class notifies its listeners.

Implementation

T? get value => _value;
void value=(T? newValue)
override

Implementation

set value(T? newValue) {
  _value = newValue;
  notifyListeners();
}