TextDefinition class

A class that defines rules for parsing, appearance and actions for CustomText and CustomTextEditingController.

Inheritance

Constructors

TextDefinition({required TextMatcher matcher, TextStyle? matchStyle, TextStyle? tapStyle, TextStyle? hoverStyle, void onTap(GestureDetails)?, void onLongPress(GestureDetails)?, void onGesture(GestureDetails)?, MouseCursor? mouseCursor})
Creates a TextDefinition that defines rules for parsing, appearance and actions for CustomText and CustomTextEditingController.
const

Properties

actionText ActionTextSelector?
finalinherited
builder SpanBuilder?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
hoverStyle TextStyle?
finalinherited
matcher TextMatcher
finalinherited
matchStyle TextStyle?
finalinherited
mouseCursor MouseCursor?
finalinherited
onGesture → (void Function(GestureDetails)?)
finalinherited
onLongPress → (void Function(GestureDetails)?)
finalinherited
onTap → (void Function(GestureDetails)?)
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shownText ShownTextSelector?
finalinherited
tapStyle TextStyle?
finalinherited

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