ActionController class
Controls batched state updates in a reactive context.
Use this to group multiple observable mutations into a single action. All reactions will be deferred until the action completes.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- isInAction → bool
-
Returns true if currently inside an action.
no setter
Static Methods
-
queue(
VoidCallback callback) → void - Queues a callback to be executed after the action completes.
-
run(
VoidCallback action) → void - Runs the given function within an action context.