Decorator class

Hold functions to decorate tagged text

Return the list of Decoration in getDecorations

Constructors

Decorator({required List<DecoratorRule> rules})

Properties

hashCode int
The hash code for this object.
no setterinherited
rules List<DecoratorRule>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDecorations(String copiedText, List<DecoratorRule> rules) List<Decoration>
Return the list of decorations with tagged and untagged text
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