Skip to content

[State Restoration] PageStorage #70520

@shihaohong

Description

@shihaohong

PageStorage is used in the Flutter Gallery for maintaining scrollable page states. For example, in the home page, whether or not the category pages are expanded is dependent upon on an _isExpanded property, which is looked up via PageStorage.of(context).readState.

Since the return type of readState is dynamic, this might be a little complicated and require a separate API for state restoration, or some other solution.

cc/ @goderbauer

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: state restorationRestorationManager and related APIsframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions