flutter_typeahead library
Classes
- CupertinoSuggestionsBox
- CupertinoSuggestionsBoxController
-
Supply an instance of this class to the
TypeAhead.suggestionsBoxController
property to manually control the suggestions box - CupertinoSuggestionsBoxDecoration
-
Supply an instance of this class to the
TypeAhead.suggestionsBoxDecoration
property to configure the suggestions box decoration -
CupertinoSuggestionsList<
T> -
Renders all the suggestions using a ListView as default. If
layoutArchitecture
is specified, uses that instead. - CupertinoTextFieldConfiguration
-
Supply an instance of this class to the
TypeAhead.textFieldConfiguration
property to configure the displayed text field. See documentation for more information on properties. -
CupertinoTypeAheadField<
T> - A CupertinoTextField that displays a list of suggestions as the user types
-
CupertinoTypeAheadFormField<
T> - A FormField implementation of TypeAheadField, that allows the value to be saved, validated, etc.
-
CupertinoTypeAheadFormFieldState<
T> - SuggestionsBox
- SuggestionsBoxController
-
Supply an instance of this class to the
TypeAhead.suggestionsBoxController
property to manually control the suggestions box - SuggestionsBoxDecoration
-
Supply an instance of this class to the
TypeAhead.suggestionsBoxDecoration
property to configure the suggestions box decoration -
SuggestionsList<
T> -
Renders all the suggestions using a ListView as default. If
layoutArchitecture
is specified, uses that instead. - TextFieldConfiguration
-
Supply an instance of this class to the
TypeAhead.textFieldConfiguration
property to configure the displayed text field -
TypeAheadField<
T> - Flutter TypeAhead
-
TypeAheadFormField<
T> - A FormField implementation of TypeAheadField, that allows the value to be saved, validated, etc.
Typedefs
- AnimationTransitionBuilder = Widget Function(BuildContext context, Widget child, AnimationController? controller)
- ErrorBuilder = Widget Function(BuildContext context, Object? error)
-
ItemBuilder<
T> = Widget Function(BuildContext context, T itemData) -
LayoutArchitecture
= Widget Function(Iterable<
Widget> items, ScrollController controller) -
SuggestionsCallback<
T> = FutureOr< Iterable< Function(String pattern)T> > -
SuggestionSelectionCallback<
T> = void Function(T suggestion)