HighlightAssistantMixin<T> class
abstract
Assistant to support highlighting in a SelectionContainer.
- Implemented types
- Implementers
Constructors
Properties
-
factoryRenderer
↔ FactoryRenderer<
RendersValue, T> ? -
Specifies the componentRenderer to use to determine the component for
rendering an item.
Specifies the factoryRenderer to use to determine the factory for
rendering an item.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
highlightComponentRenderer
→ ComponentRenderer<
RendersValue, dynamic> -
final
-
highlightFactoryRenderer
→ FactoryRenderer<
RendersValue, dynamic> -
final
- highlightMatchFromStartOfWord ← bool
-
Whether matches should only highlight at the start of words.
no getter
- highlightQuery → String
-
The query to highlight.
no setter
-
highlightRenderer
→ ItemRenderer<
T> ? -
no setter
-
itemRenderer
↔ ItemRenderer<
T> ? -
A simple function to render the an item to string.
@override
getter/setter pairinherited
- optionHighlighter ↔ Highlighter?
-
Function which returns a list of HighlightedTextSegment for the given
query and value.
getter/setter pair
-
options
↔ SelectionOptions<
T> -
The available options for this container.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selection
↔ SelectionModel<
T> -
The selection model this container represents.
getter/setter pairinherited
Methods
-
highlightOption(
Object? item) → List< HighlightedTextSegment> -
override
-
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