OptionViewBuilder<T> typedef
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:
- AutocompleteLabel.optionViewBuilder, which is of this type.
Implementation
typedef OptionViewBuilder<T> = Widget Function(
BuildContext context,
OnSelected onSelected,
int index,
T option,
bool isHighlight,
);