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 {
  notifyChildrens();
  return _value;
}
  1. @override
set value (T? newValue)
override

Implementation

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