Do you know what Ephemeral state means?
Do you know what Ephemeral state means?
Yes, ephemeral state refers to the state that is specific to a single widget and does not need to be shared with other parts of the app. It is also known as UI state or local state.
Ephemeral state is used when no other component in the widget tree needs to access a widget's data. Examples include whether a TabBarView tab is selected or when tracking the current progress of a complex animation.
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.