onAnnotationClicked property
Callback for handling annotation click (Highlight and Underline) Provides the CFI range and the selection rect (same format as onSelection)
Implementation
final void Function(String cfiRange, Map<String, dynamic>? rect)? onAnnotationClicked;