Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add state restoration to SearchAnchor #145895

Open
triallax opened this issue Mar 28, 2024 · 1 comment
Open

Add state restoration to SearchAnchor #145895

triallax opened this issue Mar 28, 2024 · 1 comment
Labels
a: state restoration RestorationManager and related APIs c: proposal A detailed proposal for a change to Flutter f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list team-design Owned by Design Languages team triaged-design Triaged by Design Languages team

Comments

@triallax
Copy link

triallax commented Mar 28, 2024

Use case

Similar to #145886, I'm adding state restoration support to my app but SearchAnchor does not support it; leaving the app while the "Don't keep activities" Android developer option is enabled loses the search query, and also the whole search anchor is closed when the app is reopened.

Proposal

Add state restoration to the SearchAnchor widget.

Also, do we want to store search suggestions in the restoration bucket as well?

@huycozy huycozy added in triage Presently being triaged by the triage team framework flutter/packages/flutter repository. See also f: labels. f: material design flutter/packages/flutter/material repository. c: proposal A detailed proposal for a change to Flutter a: state restoration RestorationManager and related APIs team-design Owned by Design Languages team and removed in triage Presently being triaged by the triage team labels Mar 29, 2024
@HansMuller HansMuller added P2 Important issues not at the top of the work list triaged-design Triaged by Design Languages team labels Apr 3, 2024
@HansMuller
Copy link
Contributor

CC @QuncCccccc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: state restoration RestorationManager and related APIs c: proposal A detailed proposal for a change to Flutter f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. P2 Important issues not at the top of the work list team-design Owned by Design Languages team triaged-design Triaged by Design Languages team
Projects
None yet
Development

No branches or pull requests

3 participants