HighlightedTextStyle class

Defines a style for specific text to be highlighted within the content.

Constructors

HighlightedTextStyle({required String highlightedText, required TextStyle customStyle, bool allowsPartialMatch = false})
Creates an instance of HighlightedTextStyle with named parameters.

Properties

allowsPartialMatch bool
Determines if this highlight should match any occurrence (substring match) or an exact match.
final
customStyle TextStyle
Custom style for the highlighted text, including color, font, and font size.
final
hashCode int
The hash code for this object.
no setterinherited
highlightedText String
Text to be highlighted in the main content.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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