AutocompleteOptionsViewBuilder<T extends Object> typedef Null safety

Widget AutocompleteOptionsViewBuilder (
  1. BuildContext context,
  2. AutocompleteOnSelected<T> onSelected,
  3. Iterable<T> options
)

The type of the RawAutocomplete callback which returns a Widget that displays the specified options and calls onSelected if the user selects an option.

See also:

Implementation

typedef AutocompleteOptionsViewBuilder<T extends Object> = Widget Function(
  BuildContext context,
  AutocompleteOnSelected<T> onSelected,
  Iterable<T> options,
);