Highlighter<T> typedef

Highlighter<T> = List<HighlightedTextSegment> Function(String query, T? value)

Produces a list of HighlightedTextSegment instances for the given query and value.

Implementation

typedef Highlighter<T> = List<HighlightedTextSegment> Function(
    String query, T? value);