ResourceProviderContext extension
Convenience extensions on BuildContext that adds lookup of a resource provided by a ResourceProvider.
- on
Methods
-
notifier<
T> () → ResultNotifier< T> - Finds the nearest ancestor resource of type T in the Widget tree.
-
resource<
T> () → T - Finds the nearest ancestor resource of type T in the Widget tree.