ReactableValueNotifier<T> class
- Inheritance
-
- Object
- Listenable
- ReactableNotifier
- ReactableValueNotifier
- Implemented types
- Implementers
Constructors
- ReactableValueNotifier(T val, bool canBeAutoDisposed)
Properties
- canBeAutoDisposed → bool
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- read → T
-
Silently read the value of this reactable
without registering a listener.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T
-
The current value of the object. When the value changes, the callbacks
registered with addListener will be invoked.
getter/setter pairoverride-getter
Methods
-
addDisposer(
VoidCallback listener) → void -
inherited
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object notifies its listeners.
inherited
-
call(
[T? v]) → T? -
containsListener(
VoidCallback listener) → bool -
inherited
-
detach(
ScopeData data) → void -
inherited
-
dispose(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
inherited
-
refresh(
) → void -
inherited
-
registerScope(
VoidCallback listener) → void -
inherited
-
removeDisposer(
VoidCallback listener) → void -
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that the
object notifies.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
write(
T val) → T - Silently write the value of this reactable without triggering any listener.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited