OptionViewBuilder<T> typedef Null safety

OptionViewBuilder<T> = Widget Function(BuildContext context, OnSelected<Object> onSelected, int index, T option, bool isHighlight)

The type of AutocompleteLabel callback, which returns a widget that displays the specified option.

See also:

Implementation

typedef OptionViewBuilder<T> = Widget Function(
  BuildContext context,
  OnSelected onSelected,
  int index,
  T option,
  bool isHighlight,
);