A highly customizable simple and easy to use flutter Widget to add a searchfield to your Flutter Application.This Widget allows you to search and select from list of suggestions.
MIT License
84
stars
64
forks
source link
Expose onTapOutside-method of underlying TextFormField #94
It would be really helpful if SearchField had a parameter onTapOutside. With this method SearchField could be used in complex Forms. An Implementation should be possible by exposing the onSaved-method of the underlying TextFormField inside SearchField.
Parameter definition:
/// Callback when a tap is performed outside Searchfield (during the time the field has focus)
final void Function(PointerDownEvent)? onTapOutside;
It would be really helpful if SearchField had a parameter onTapOutside. With this method SearchField could be used in complex Forms. An Implementation should be possible by exposing the onSaved-method of the underlying TextFormField inside SearchField.
Parameter definition:
Implementation
https://api.flutter.dev/flutter/material/TextField/onTapOutside.html This would also be very usefull.