onLinkTap property

void Function(String url, String title)? onLinkTap
final

Called when the user taps a link. url is the href; title is the optional link title attribute (may be empty). The consumer is responsible for navigation or URL launching.

Implementation

final void Function(String url, String title)? onLinkTap;