material_search
material_search copied to clipboard
Allow multiple search patterns
- [ ] Plug-n-play
AppBar
IconButton
action, like theBackButton
Youtube-like:
- [ ] Display recent searches when the input is empty.
- [x] Display selectable suggestions, but let the user submit a search without selecting one. (#15)
- [ ] Let the user click a
call_made
, icon, wrapped with aRotatedBox
to fill the input with the suggestion
Whatsapp-like:
- [ ] Change the appbar to an input, and let the user type.
- [ ] Try to hide
flexibleSpace
if present. - [ ] Emit an event (constructor option) when the user types.
Keep Current Behaviors
- [ ] Try to not introduce a breaking change to the API
Display selectable suggestions, but let the user submit a search without selecting one.
I have just created a pull request that adds a callback for onSubmit, it's optional and has no impact on current API