optionHighlighter property

Highlighter? get optionHighlighter

Implementation

Highlighter? get optionHighlighter => _optionHighlighter;
  1. @Input()
set optionHighlighter (Highlighter? value)

Function which returns a list of HighlightedTextSegment for the given query and value.

If no optionHighlighter is provided, a TextHighlighter is used in conjunction with the itemRenderer to produce the list of text segments.

Implementation

@Input()
set optionHighlighter(Highlighter? value) {
  _optionHighlighter = value;
  _highlightAssistant = null;
}