FxTextOnLinkTap typedef

FxTextOnLinkTap = void Function(int index, String text)

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 FxTextOnLinkTap = void Function(int index, String text);