Manager<State> class
abstract
every manager should implement a class, a manager manages a state. You can add listerners to a manager and listen for state changes. If you are using flutter this is done for you by the ManagerBuilder widget
Constructors
- Manager(State state)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ State
-
getter/setter pair
Methods
-
addListener(
void listener(State state)) → void -
emit(
State emittedState) → void - Emit a state to all listeners
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeListener(
void listener(State state)) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited