Skip to content

[State Restoration] Bottom Sheet #70915

@shihaohong

Description

@shihaohong

To show a bottom sheet, one needs to call Scaffold.of(context).showBottomSheet, which takes a builder for the content to display when the bottom sheet is displayed. AFAICT, there's no straightforward way for users to make the bottom sheet state restorable and we may need to provide this support directly in the Scaffold widget.

First discovered trying to make the Flutter Gallery's bottom sheet demo state restorable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: state restorationRestorationManager and related APIsf: material designflutter/packages/flutter/material repository.frameworkflutter/packages/flutter repository. See also f: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions