SetStateMixin mixin State Object Controller

Used by StateXController Allows you to call 'setState' from the 'current' the State object.

dartdoc:

Mixin Applications

Properties

endState StateX<StatefulWidget>?
Return the 'latest' State object
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startState StateX<StatefulWidget>?
Return the first State object
no setter
states Set<StateX<StatefulWidget>>
Return a 'copy' of the Set of State objects. 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