toggleHighlightCommand top-level property

CommandShortcutEvent toggleHighlightCommand
final

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(),
  ),
);