PerfectAutocompleteOptionBuilder<T extends Object> typedef
PerfectAutocompleteOptionBuilder<T extends Object> =
Widget Function(BuildContext context, int index, T option, bool highlight)
The type of the PerfectAutocomplete callback which returns a Widget that
displays on the specific option
at index
.
The returned widget from this callback will be wrapped in an PerfectAutocompleteHighlightedOption inherited widget. This will allow this callback to determine which option is currently highlighted for keyboard navigation.
Implementation
typedef PerfectAutocompleteOptionBuilder<T extends Object> = Widget Function(
BuildContext context,
int index,
T option,
bool highlight,
);