value property
T
get
value
The current value.
Implementation
T get value => _value;
set
value
(T next)
Replaces the value and notifies listeners. A no-op if next equals the
current value (by ==), so identical updates don't churn the DOM.
Implementation
set value(T next) {
if (_value == next) return;
_value = next;
if (!_controller.isClosed) _controller.add(next);
}