Definition class sealed
The base class for definitions of rules for parsing, appearance and actions for CustomText and CustomTextEditingController.
- Implementers
- Annotations
Properties
- actionText → ActionTextSelector?
-
The function to choose a string to be passed to gesture callbacks.
final
- builder → SpanBuilder?
-
The builder function that builds an InlineSpan to replace
matched strings with.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hoverStyle → TextStyle?
-
The text style used for matched strings while they are under
the mouse pointer.
final
- isTextDefinition → bool
-
Whether the definition is TextDefinition.
no setter
- matcher → TextMatcher
-
The matcher used to parse text for this definition.
final
- matchStyle → TextStyle?
-
The text style for matched strings.
final
- mouseCursor → MouseCursor?
-
The mouse cursor shown on a matched string while it is being hovered.
final
- onGesture → GestureCallback?
-
The callback function called when a gesture happens on a matched string.
final
- onLongPress → GestureCallback?
-
The callback function called when a matched string is long-pressed.
final
- onTap → GestureCallback?
-
The callback function called when a matched string is tapped.
final
- rebuildKey → Key?
-
A key that is used to decide whether to rebuild the InlineSpans
relevant to this definition.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shownText → ShownTextSelector?
-
The function to choose a string to be shown.
final
- tapStyle → TextStyle?
-
The text style used for matched strings while they are being pressed.
final
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.
override