SpanDefinition class Null safety
A class that defines rules for parsing, appearance and widget to be displayed inside CustomText.
- Inheritance
-
- Object
- Definition
- SpanDefinition
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.
read-onlyinherited
- 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.
read-onlyinherited
- shownText → ShownTextSelector?
-
finalinherited
- tapStyle → TextStyle?
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited