Skip to content

mengdd/counter_state_management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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