value property Null safety

T? 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 {
  notifyChildrens();
  return _value;
}
void value=(T? newValue)
override

Implementation

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