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

The SMF module that manages the state of screens with Riverpod. It adds flutter_riverpod and its ProviderScope to the Flutter app that SMF generates.

smf_riverpod #

The SMF module that manages the state of screens with Riverpod 3, without code generation. It provides the state management role of SMF with flutter_riverpod.

It adds flutter_riverpod to the app and wraps the root widget in a ProviderScope. A module with screens supports Riverpod through its variant for riverpod, which brings the providers of its screens.

Use with the SMF CLI #

smf create asks which module manages the state of the app, and offers none as well. To choose this one without the question:

smf create my_app -m riverpod

An app has at most one module that manages its state.

You don't add this package to an app yourself: smf create of the SMF CLI puts what the module generates into the app.

SMF generates apps for Flutter 3.44 or newer and Dart 3.12 or newer. It is tested on macOS, Linux and Windows.

Documentation #

0
likes
160
points
--
downloads

Documentation

Documentation
API reference

Publisher

verified publishersaymyframe.com

The SMF module that manages the state of screens with Riverpod. It adds flutter_riverpod and its ProviderScope to the Flutter app that SMF generates.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #architecture #state-management #riverpod

License

Apache-2.0 (license)

Dependencies

smf_contracts

More

Packages that depend on smf_riverpod