slashCommand top-level property

CharacterShortcutEvent slashCommand
final

Show the slash menu

  • support
    • desktop
    • web

Implementation

final CharacterShortcutEvent slashCommand = CharacterShortcutEvent(
  key: 'show the slash menu',
  character: '/',
  handler: (editorState) async => await _showSlashMenu(
    editorState,
    standardSelectionMenuItems,
  ),
);