Close the search by pressing escape #148146
Labels
a: text input
Entering text in a text field or keyboard related problems
c: new feature
Nothing broken; request for a new capability
c: proposal
A detailed proposal for a change to Flutter
f: focus
Focus traversal, gaining or losing focus
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
I'm using the
showSearch()
method with a customSearchDelegate
this works fine so far, I just would like to close the search by pressing the escape key. Since this is an internal _SearchPageRoute this feature requires a lot of code duplication for this small feature. Therefore it would be nice to have that feature build in.Proposal
I would like to close the search with the escape button.
The text was updated successfully, but these errors were encountered: