debounced_autocomplete library

Typedefs

DebAutocompleteFieldViewBuilder = Widget Function(BuildContext context, TextEditingController textEditingController, FocusNode focusNode, VoidCallback onFieldSubmitted, bool isLoading)
The type of the Autocomplete callback which returns the widget that contains the input TextField or TextFormField.
DebAutocompleteOptionsBuilder<T extends Object> = FutureOr<Iterable<T>> Function(TextEditingValue textEditingValue, Debounceable<List<T>?, String> debounceSearchCallback)
The DebAutocompleteOptionsBuilder callback which computes the list of optional completions for the widget's field, based on the text the user has entered so far.
DebAutocompleteOptionsViewBuilder<T extends Object> = Widget Function(BuildContext context, void onSelected(T option), Iterable<T> options, T? selectedOption)
The DebAutocompleteOptionsViewBuilder callback which returns a Widget that displays the specified options and calls onSelected if the user selects an option.