SimpleNotifier class abstract
- Inheritance
-
- Object
- BaseNotifier
- SimpleNotifier
- Mixed in types
Constructors
Properties
- disposed → bool
-
Tell us if the notifier was disposed
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
returns true when the current notifier has subscribers
no setterinherited
- mounted → bool
-
Tell us if the notifier is mounted
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
SimpleNotifierEmptyData> -
A broadcast stream representation of a StateNotifier.
no setterinherited
Methods
-
addListener(
ListenerCallback< SimpleNotifierEmptyData> listener) → void -
add a new listener
inherited
-
clearListeners(
) → Future< void> -
inherited
-
dispose(
) → FutureOr< void> -
use to listen when the controller was deleted from memory
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
) → void - notify to listeners and rebuild the widgets
-
notifyListeners(
SimpleNotifierEmptyData data) → void -
notify to listeners and rebuild the widgets
inherited
-
removeListener(
ListenerCallback< SimpleNotifierEmptyData> listener) → void -
remove a listener from the notifier
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited