Add state restoration to SearchAnchor
#145895
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
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?
The text was updated successfully, but these errors were encountered: