| What it is | Reactive caching and data-binding framework for Dart and Flutter | Predictable state management for Dart and Flutter with the BLoC pattern | State management, dependency injection and routing for Flutter in one package | InheritedWidgets, but simple |
| Features | - loading and error states handled by default
- providers that recompute when their dependencies change
- pull-to-refresh and search-as-you-type in a few lines
- code generation, custom lint rules and refactorings
- packages for Dart, Flutter and Flutter Hooks
| - 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
| - 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
| - 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
|