toggleHighlightCommand top-level property
Implementation
final CommandShortcutEvent toggleHighlightCommand = CommandShortcutEvent(
key: 'toggle highlight',
getDescription: () => AppFlowyEditorL10n.current.cmdToggleHighlight,
command: 'ctrl+shift+h',
macOSCommand: 'cmd+shift+h',
handler: (editorState) => _toggleHighlight(
editorState,
style: ToggleColorsStyle(),
),
);