searchMatchFn property

SearchMatchFn<T>? searchMatchFn
final

The match function used for searchable dropdowns. If this is null, then _defaultSearchMatchFn will be used.

_defaultSearchMatchFn = (item, searchValue) =>
  item.value.toString().toLowerCase().contains(searchValue.toLowerCase());

Implementation

final SearchMatchFn<T>? searchMatchFn;