SetStateMixin mixin
Used by StateXController Allows you to call 'setState' from the 'current' the State object.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
states
→ Set<
StateX< StatefulWidget> > -
The Set of State objects.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ofState<
T extends StateX< (StatefulWidget> >) → T? - Retrieve the StateX object by type Returns null if not found
-
setState(
VoidCallback fn) → void - Provide the setState() function to external actors
-
stateOf<
T extends StatefulWidget> () → StateX< StatefulWidget> ? - Retrieve the State object by its StatefulWidget. Returns null if not found.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited