MarkdownEditorSlashCommandCallback typedef

MarkdownEditorSlashCommandCallback = FutureOr<String?> Function(String query)

Called when a custom slash command is selected.

Implementation

typedef MarkdownEditorSlashCommandCallback = FutureOr<String?> Function(
  String query,
);