toText method
Converts the span to plain text format.
Links are shown as text followed by the URL:
"Click here (https://example.com)"
Implementation
String toText() => onTap != null ? '$text ($onTap)' : text;
Converts the span to plain text format.
Links are shown as text followed by the URL:
"Click here (https://example.com)"
String toText() => onTap != null ? '$text ($onTap)' : text;