Definition class abstract
The base class for definitions of rules for parsing, appearance and actions for CustomText and CustomTextEditingController.
- Implementers
- Annotations
Constructors
- Definition({required TextMatcher matcher, ShownTextSelector? shownText, ActionTextSelector? actionText, SpanBuilder? builder, TextStyle? matchStyle, TextStyle? tapStyle, TextStyle? hoverStyle, void onTap(GestureDetails)?, void onLongPress(GestureDetails)?, void onGesture(GestureDetails)?, MouseCursor? mouseCursor})
-
const
Properties
- actionText → ActionTextSelector?
-
final
- builder → SpanBuilder?
-
final
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- hoverStyle → TextStyle?
-
final
- matcher → TextMatcher
-
final
- matchStyle → TextStyle?
-
final
- mouseCursor → MouseCursor?
-
final
- onGesture → (void Function(GestureDetails)?)
-
final
- onLongPress → (void Function(GestureDetails)?)
-
final
- onTap → (void Function(GestureDetails)?)
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- shownText → ShownTextSelector?
-
final
- tapStyle → TextStyle?
-
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