OptionBoxBuilder<T> typedef Null safety

OptionBoxBuilder<T> = Widget Function(BuildContext context, OnSelected<Object> onSelected, OptionViewBuilder optionViewBuilder, Iterable<T> options, int highlightIndex, AxisDirection boxDirection)

The type of AutocompleteLabel callback, which returns a widget that wraps all options.

See also:

Implementation

typedef OptionBoxBuilder<T> = Widget Function(
  BuildContext context,
  OnSelected onSelected,
  OptionViewBuilder optionViewBuilder,
  Iterable<T> options,
  int highlightIndex,
  AxisDirection boxDirection,
);