StateAccessExtension extension
Extension methods for accessing state in the context of a widget build.
- on
Methods
-
get<
T> () → T -
Available on BuildContext, provided by the StateAccessExtension extension
Gets the current value of state of typeT
without rebuilding the widget. -
listen<
T> () → T -
Available on BuildContext, provided by the StateAccessExtension extension
Listens for state changes of typeT
and rebuilds the widget when it changes.