StateGetter mixin

Supplies the 'current' State object.

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
state StateX<StatefulWidget>?
The 'current' State object.
no setter

Methods

dispose() bool
Call this in the State object's dispose function.
initState(StateX<StatefulWidget>? state) → void
Call this in the State object's initState() function.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
popState() bool
Pop out the last State object from the Set.
pushState([StateX<StatefulWidget>? state]) bool
Add the optional State object to the Set
rebuild() bool
Notify the framework of a rebuild in the next scheduled frame
refresh() bool
Notify the framework of a rebuild in the next scheduled frame
setState(VoidCallback fn) bool
Notify the framework of a rebuild in the next scheduled frame
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited