HighlightAssistant class
Maintains a reference to the highlighter and a cache of highlighted data.
Constructors
- HighlightAssistant({Highlighter? optionHighlighter, bool matchFromStartOfWord = false})
-
Creates new HighlightAssistant, using provided
optionHighlighter
or TextHighlighter if no value is provided.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
highlightOption<
T> (String lastQuery, dynamic item, ItemRenderer< T> ? itemRenderer) → List<HighlightedTextSegment> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited