onExportPdf property
Called when the export menu or Cmd/Ctrl+Shift+P requests PDF/print export.
If omitted, the action copies an HTML rendering to the clipboard as a platform-neutral fallback.
Implementation
final MarkdownEditorPdfExportCallback? onExportPdf;