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 typeTwithout rebuilding the widget. -
listen<
T> () → T -
Available on BuildContext, provided by the StateAccessExtension extension
Listens for state changes of typeTand rebuilds the widget when it changes.