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
stream Stream<T>
A broadcast stream representation of a StateNotifier.
no setter

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) → void
remove a listener from the notifier
toString() String
A string representation of this object.
inherited

Operators

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