EnvironmentExtension extension
Extension method to easily wrap a widget with an InheritedSolidProvider
- on
Methods
-
environment<
T> (T create(BuildContext), {bool notifyUpdate(InheritedSolidProvider< T> oldWidget)?}) → Widget -
Available on Widget, provided by the EnvironmentExtension extension
Wraps the widget with a SolidProvider that provides data of type T.