StyledTextActionTag class
A class that you can use to specify a callback that will be called when the tag is tapped.
- Inheritance
-
- Object
- StyledTextTagBase
- StyledTextTag
- StyledTextActionTag
Constructors
- StyledTextActionTag(StyledTextTagActionCallback onTap, {TextStyle? style})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onTap → StyledTextTagActionCallback
-
A callback to be called when the tag is tapped.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle?
-
The TextStyle to apply to this tag.
finalinherited
Methods
-
createRecognizer(
String? text, Map< String?, String?> attributes) → GestureRecognizer? -
override
-
createSpan(
{required BuildContext context, String? text, String? textContent, List< InlineSpan> ? children, required Map<String?, String?> attributes, GestureRecognizer? recognizer}) → InlineSpan -
inherited
-
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