跳至主要內容

狀態管理

如果您已經熟悉反應式應用程式中的狀態管理,則可以跳過本節,但您可能需要查看不同方法的列表

A short animated gif that shows the workings of a simple declarative state management system. This is explained in full in one of the following pages. Here it's just a decoration.

在探索 Flutter 時,總有一天您需要在應用程式中的不同畫面之間共享應用程式狀態。 您可以採用許多方法,並且有許多問題需要考慮。

在以下頁面中,您將學習在 Flutter 應用程式中處理狀態的基本知識。