FilterCallback<T> typedef

FilterCallback<T> = List<DropdownMenuEntry<T>> Function(List<DropdownMenuEntry<T>> entries, String filter)

A callback function that returns the list of the items that matches the current applied filter.

Used by DropdownMenu.filterCallback.

Implementation

typedef FilterCallback<T> = List<DropdownMenuEntry<T>> Function(List<DropdownMenuEntry<T>> entries, String filter);