Skip to content
Boring Doc
Official documentation (snapshot)doc

State management

How to structure an app to manage the state of the data flowing through it.

Source last updated Oct 21, 2026 · last synchronized 3 weeks ago · commit b3045439b7c0 · read on docs.flutter.dev

This is a rendered snapshot of the official page as stored by Boring Doc for provenance and search. Site-specific components (embedded demos, DartPad, images with relative paths) may not render; use the official page for the full experience. Content © The Flutter Authors, CC BY 3.0.

and wonder why your app's state is lost on a restart, check out [Restore state on Android][] or Restore state on iOS.

If you are already familiar with state management in reactive apps, you can skip this section, though you might want to review the list of different approaches.

Source of the above animation tracked internally as b/122314402

As you explore Flutter, there comes a time when you need to share application state between screens, across your app. There are many approaches you can take, and many questions to think about.

In the following pages, you will learn the basics of dealing with state in Flutter apps.

Was this useful?

Content from flutter/website, © The Flutter Authors, used under the Creative Commons Attribution 3.0 License; code samples under the BSD License.