What is an App state?
What is an App state?
An app state in Flutter refers to the state that is shared across multiple widgets in an application. It is the data that defines the overall state of the app, as opposed to the ephemeral state which is specific to a single widget.
Some key characteristics of app state:
For example, in a shopping app, the list of products in the catalog and the items in the shopping cart would be considered app state, as they are shared across multiple screens. The currently selected pr...
junior
Gợi ý câu hỏi phỏng vấn
Chưa có bình luận nào