slashCommand top-level property
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,
),
);