counter_state_management
counter_state_management copied to clipboard
Flutter state management sample.
counter_state_management
Flutter state management sample.
The sample counter app is implemented in several ways to show how to use different state management options.
Please checkout different branches to try out.
Samples in branches
StatefulWidget
- master: the original counter app.
- starter-code: add a decrement FAB, still use
StatefulWidget. - stateful-builder.
- flutter-hooks
InheritedWidget
- inherited-widget
Provider & Scoped Model
- scoped-model
- provider
BLoC / Rx
- bloc
- bloc-library
- bloc-rxdart
- bloc-with-provider
- rxdart
Redux
- redux
MobX
- mobx