| What it is | InheritedWidgets, but simple | Flutter state management that feels like Flutter | Predictable state management for Dart and Flutter with the BLoC pattern | Reactive state management for Dart and Flutter, a port of MobX |
| Features | - Provider, ChangeNotifierProvider, FutureProvider, StreamProvider and ProxyProvider
- Lazy creation and automatic disposal of provided objects
- context.watch, context.read, Consumer and Selector to read values
- MultiProvider to combine providers
- State visible in Flutter DevTools
- Android, iOS, Linux, macOS, web and Windows
| - State classes that extend JuneState, shown with JuneBuilder
- Call setState from any file to rebuild the widgets that use the state
- No MaterialApp wrapper and no manual initialization
- Several global instances of one state class through tags
- State local to one widget with global: false
- Selective rebuilds of chosen builders through ids
- Android, iOS, Linux, macOS, web and Windows
| - Cubit: functions that emit new states
- Bloc: events mapped to states, with observable transitions
- flutter_bloc widgets: BlocBuilder, BlocSelector, BlocListener, BlocConsumer, BlocProvider
- RepositoryProvider for dependency injection
- Companion packages for testing, persisted state, undo/redo and event concurrency
| - observables, computed values, actions and reactions
- annotations through mobx_codegen to cut store boilerplate
- an Observer widget in flutter_mobx that rebuilds only on the observables it uses
|