OnSelected<T extends Object> typedef Null safety

OnSelected<T extends Object> = void Function(int index)

The type of the callback used by the AutocompleteLabel widget to indicate that the user has selected an option.

See also:

  • AutocompleteLabel.onSelected, which is of this type.

Implementation

typedef OnSelected<T extends Object> = void Function(int index);