SpanDefinition class

A class that defines rules for parsing, appearance and widget to be displayed inside CustomText.

Inheritance

Constructors

SpanDefinition({required TextMatcher matcher, required SpanBuilder builder})
A SpanDefinition that defines parsing rules and the widget to be displayed inside CustomText.
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