Last updated:
0 purchases
flutter rxstore
flutter_rxstore #
A Flutter widget to easily obtain an rxstore.
StoreProvider #
Pass the store to the provider by instantiating a StoreProvider widget.
StoreProvider(
store: store,
child: YourAwesomeApp()
);
copied to clipboard
If you need a reference to the store, call the static method of<State>. Be sure to pass the type of your store to the method, else it won't be able to find the provider.
final Store<State> store = StoreProvider.of<State>();
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.