The state of an app is everything that exists in memory when the app is running. This includes the app’s assets, all the variables that the Flutter framework keeps about the UI, animation state, textures, fonts, and so on.
- There are some states ,e.g textures, that the flutter framework handles by itself.
- The states that we manage can be separated into two conceptual types: – Ephemeral state – App state
Some approaches to state management in Flutter are:
setState
InheritedWidget
&InheritedModel
- Provider & Scoped Model
- Redux
- BLoC / Rx
- MobX