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 => _value;
set value (T newValue)

Implementation

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