VoTextOnLinkTap typedef
Callback fired when a tappable span is tapped.
index is the zero-based position among link spans only.
text is the raw content of the tapped span (without brackets).
Implementation
typedef VoTextOnLinkTap = void Function(int index, String text);