A List of state management approaches in Flutter
State management is a complex topic. It is one of the most important processes in the life cycle of an application. In Flutter State is whatever data you need in order to rebuild your UI at any moment in time. When this data change, it will trigger a redraw of the user interface.
Here is a list of the most popular packages used for state management in Flutter:
The low-level approach to use for widget-specific, ephemeral state. You can simply use Statefulwidget and setState() method to get state.
Another low-level approach used to communicate between ancestors and children in the widget tree.
A wrapper around InheritedWidgets to make them more reusable and easy to use.
Reactive State-Management and Dependency Injection Framework with no dependency on Flutter.
BloC makes it easy to implement the Business Logic Component design pattern, which separates presentation from business logic.
A service locator-based state management approach that doesn’t need a BuildContext.
MobX is a state-management library based on observables and reactions.
A simplified reactive state management solution.