onTap property

VoidCallback? onTap
final

Invokes GptMarkdownConfig.onLatexTap for this formula as a whole, or null when no handler is set.

defaultSpan already wires the handler, and reports which part of the formula was tapped. Call this from a formula of your own, rather than onLatexTap directly, so the details stay right when they change.

Implementation

final VoidCallback? onTap;