WatchContext extension
Exposes the watch method.
- on
Methods
-
watch<
T> () → T -
Available on BuildContext, provided by the WatchContext extension
Obtain a value from the nearest ancestor provider of typeT
orT?
, and subscribe to the provider.