onLinkTap property

(void Function(String? url, Map<String, String> attributes, Element? element)?) onLinkTap
final

A callback function that is called when a link is tapped within the HTML content.

The callback receives the URL of the tapped link, a map of attributes associated with the link, and the HTML element containing the link.

Implementation

final void Function(String? url, Map<String, String> attributes, html.Element? element)? onLinkTap;