StateMapStatefulWidgetExtension extension
Supply the StatefulWidget access to its State object and others
Properties
-
state
→ StateSet<
StatefulWidget> ? -
Return the State object from this particular StatefulWidget.
no setter
Methods
-
notifyListeners(
) → bool - Call the setState() function from this particular StatefulWidget.
-
rebuild(
) → bool - Call the setState() function from this particular StatefulWidget.
-
refresh(
) → bool - Call the setState() function from this particular StatefulWidget.
-
setState(
VoidCallback fn) → bool - Call the setState() function from this particular StatefulWidget.
-
setStateOf(
VoidCallback fn) → bool - Call setState() function from a StatefulWidget of this type.
-
stateAs<
T extends State< (StatefulWidget> >) → T? - Retrieve a particular State class
-
stateOf(
) → StateSet< StatefulWidget> ? - Retrieve a State object from a StatefulWidget of this type.