AutoListenWrapper<T, P extends ValueNotifier<T>> class
- Inheritance
-
- Implemented types
-
- Available Extensions
Properties
-
disposed
→ bool
-
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hasListeners
→ bool
-
Whether any listeners are currently registered.
no setteroverride
-
parent
→ P
-
finalinherited
-
props
→ List<Object?>
-
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
stringify
→ bool?
-
If set to
true
, the toString method will be overridden to output
this instance's props.
no setterinherited
-
value
↔ T
-
getter/setter pairinherited-getteroverride-setter
Methods
-
addListener(VoidCallback listener)
→ void
-
Register a closure to be called when the object notifies its listeners.
inherited
-
autoDispose()
→ void
-
inherited
-
autoListen()
→ void
-
inherited
-
dispose()
→ void
-
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners()
→ void
-
Call all the registered listeners.
override
-
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.
inherited
-
updateParent(void update(P parent))
→ void
-
inherited