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 type T or T?, and subscribe to the provider.