SearchMatchFn<T> typedef

SearchMatchFn<T> = bool Function(DropdownMenuItem<T> item, String searchValue)

Signature for the callback for the match function used for searchable dropdowns.

Implementation

typedef SearchMatchFn<T> = bool Function(
  DropdownMenuItem<T> item,
  String searchValue,
);