auto_complete/perfect_raw_auto_complete library
Classes
- PerfectAutocompleteHighlightedOption
- An inherited widget used to indicate which autocomplete option should be highlighted for keyboard navigation.
- PerfectAutocompleteNextOptionIntent
- An Intent to highlight the next option in the autocomplete list.
- PerfectAutocompletePreviousOptionIntent
- An Intent to highlight the previous option in the autocomplete list.
-
PerfectRawAutocomplete<
T extends Object> - The user's text input is received in a field built with the fieldViewBuilder parameter. The options to be displayed are determined using optionsBuilder and rendered with optionsViewBuilder.
Typedefs
- PerfectAutocompleteFieldViewBuilder = Widget Function(BuildContext context, PerfectTextController textController, VoidCallback onFieldSubmitted)
- The type of the Autocomplete callback which returns the widget that contains the input TextField or TextFormField.
-
PerfectAutocompleteOnSelected<
T extends Object> = String Function(T option) - The type of the callback used by the PerfectRawAutocomplete widget to indicate that the user has selected an option.
-
PerfectAutocompleteOptionsBuilder<
T extends Object> = FutureOr< Iterable< Function(TextEditingValue textEditingValue)T> > - The type of the PerfectRawAutocomplete callback which computes the list of optional completions for the widget's field, based on the text the user has entered so far.
-
PerfectAutocompleteOptionsViewBuilder<
T extends Object> = Widget Function(BuildContext context, PerfectAutocompleteOnSelected< T> onSelected, Iterable<T> options, void onSizeChange(Size?)) -
The type of the PerfectRawAutocomplete callback which returns a Widget that
displays the specified
options
and callsonSelected
if the user selects an option. -
PerfectAutocompleteOptionToString<
T extends Object> = String Function(T option) - The type of the PerfectRawAutocomplete callback that converts an option value to a string which can be displayed in the widget's options menu.