AutoListenAddRemove<T, P extends Listenable> mixin

Superclass constraints
Mixin applications
Available extensions

Properties

disposed bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
parent → P
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object notifies its listeners.
override
autoDispose() → void
inherited
autoListen() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
override
select<T>(ShouldNotify<T, D> notifyValue, {Object? key}) ChangeNotifierSelector<T, D>

Available on D, provided by the ValueNotifierSelector extension

toString() String
A string representation of this object.
inherited
wr(Widget builder(T value)) Widget

Available on T, provided by the ListenableWidget extension

wrap(Widget builder(BuildContext context, T value)) Widget

Available on T, provided by the ListenableWidget extension

Operators

operator ==(Object other) bool
The equality operator.
inherited