MarkdownTapLinkCallback typedef

MarkdownTapLinkCallback = void Function(String text, String? href, String title)

Signature for callbacks used by MarkdownWidget when the user taps a link. The callback will return the link text, destination, and title from the Markdown link tag in the document.

Used by MarkdownWidget.onTapLink.

Implementation

typedef MarkdownTapLinkCallback = void Function(
    String text, String? href, String title);