BuildContextScopeX extension
Exposes BuildContext method to read.
- on
Methods
-
read<
T extends Object> ({T orElse()?}) → T -
Obtain a value from the nearest ancestor scope of type
T
. -
tryRead<
T extends Object> () → T? - TODO: doc
-
tryWatch<
T extends Object> () → T? - TODO: doc
-
watch<
T extends Object> ({T orElse()?}) → T -
Obtain a value from the nearest ancestor scope of type
T
and subscribe to the scope.