ListeneableNotifier<T> mixin
- Mixin applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
returns true when the current notifier has subscribers
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
ListenerCallback< T> listener) → void - add a new listener
-
clearListeners(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
T data) → void - notify to listeners and rebuild the widgets
-
removeListener(
ListenerCallback< T> listener, {bool ignoreAutoDispose = false}) → void - remove a listener from the notifier
-
setDisposableCallback(
void disposableCallback()) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited