comparator property
Function that implements the comparison criteria to filter out suggestions.
The 2 parameters are the input text and the suggestionKey passed to each SearchFieldListItem
which should return true or false to filter out the suggestion.
by default the comparator shows the suggestions that contain the input text
in the suggestionKey
Implementation
final bool Function(String inputText, String suggestionKey)? comparator;