StyledTextActionTag class Null safety

A class that you can use to specify a callback that will be called when the tag is tapped.

Inheritance

Constructors

StyledTextActionTag(StyledTextTagActionCallback onTap, {TextStyle? style})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
onTap StyledTextTagActionCallback
A callback to be called when the tag is tapped.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
style TextStyle?
The TextStyle to apply to this tag.
final, inherited

Methods

createRecognizer(String? text, Map<String?, String?> attributes) GestureRecognizer?
override
createSpan({required BuildContext context, String? text, List<InlineSpan>? children, required Map<String?, String?> attributes, GestureRecognizer? recognizer}) InlineSpan
inherited
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