flutter_rxstore 0.3.0 copy "flutter_rxstore: ^0.3.0" to clipboard
flutter_rxstore: ^0.3.0 copied to clipboard

Contains a Flutter widget to easily obtain a reference to an 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()
);

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>();
0
likes
140
pub points
0%
popularity

Publisher

unverified uploader

Contains a Flutter widget to easily obtain a reference to an rxstore

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, rxdart, rxstore

More

Packages that depend on flutter_rxstore