Highlight class

Highlight is the custom highlighting object Used as HighlightText's highlighting data.

pattern or words, one of them must be provided. pattern would be used as RegExp model's pattern to check if data has match. words's each element would be compared to data.

Constructors

Highlight({String? pattern, List<String>? words})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
pattern String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
words List<String>?
final

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