value property
The current value of the object. When the value changes, the callbacks registered with addListener will be invoked.
Implementation
@override
T get value {
reportRead();
return _value;
}
Updates the value and adds it to the stream, updating the observer Widget, only if it's different from the previous value.
Implementation
@override
set value(T val) {
if (isDisposed) return;
sentToStream = false;
if (value == val && !firstRebuild) return;
firstRebuild = false;
sentToStream = true;
super.value = val;
}