ComponentStateControl mixin
This is a mixin used to define base functions used in controlling state in a component.
In components, state is used and watched constantly, and so these are base function definitions of functions used in component states, alongside the StateControl mixin.
These functions are applyState, which are used to copy and paste state from one phase or part of the component to another; and dispose.
- Mixin applications
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
-
applyState(
) → void - Function used in making a copy of the current state of an object to be implemented elsewhere in code.
-
dispose(
) → void - Function used in disposing current component state, and disposing of any broadcast streams used in the process.
-
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