| What it is | Predictable state management for Dart and Flutter with the BLoC pattern | InheritedWidgets, but simple | State management, dependency injection and routing for Flutter in one package | Reactive state management for Dart and Flutter, a port of MobX |
| Features | - 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
| - 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
| - reactive and simple state management
- dependency injection with lazy loading
- route management without BuildContext
- snackbars, dialogs and bottom sheets without context
- automatic disposal of unused controllers
| - 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
|