HighlightedValueComponent class
An alternate api to HighlightedTextComponent that uses a highlighter and accepts a value that it converts to text segments using a HighlightProvider.
- Implemented types
- Annotations
-
- @Component(selector: 'highlight-value', templateUrl: 'highlighted_text.html', styleUrls: ['highlighted_text.scss.css'], directives: [NgFor])
Constructors
- HighlightedValueComponent(HighlightProvider _highLighter)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
segments
→ List<
HighlightedTextSegment> -
List of HighlightedTextSegments to present.
no setter
- value ↔ Object?
-
Value to pass to the highlighter to calculate text segments.
getter/setter pairoverride-setter
Methods
-
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