StoreProviderExtension extension
Extension on BuildContext for convenient store access.
- on
Methods
-
dispatch<
S, A extends Action> (A action) → void -
Available on BuildContext, provided by the StoreProviderExtension extension
Dispatches an action to the store. -
store<
S, A extends Action> () → Store< S, A> -
Available on BuildContext, provided by the StoreProviderExtension extension
Retrieves the Store from the nearest StoreProvider ancestor.