onImportMarkdown property

MarkdownEditorMarkdownImportCallback? onImportMarkdown
final

Called when the import menu requests host-provided Markdown content.

Host apps can wire this to file picker, paste, or drop integrations and return the Markdown text that should be inserted at the active selection.

Implementation

final MarkdownEditorMarkdownImportCallback? onImportMarkdown;