toggleUnderlineCommand top-level property
Implementation
final CommandShortcutEvent toggleUnderlineCommand = CommandShortcutEvent(
key: 'toggle underline',
getDescription: () => AppFlowyEditorL10n.current.cmdToggleUnderline,
command: 'ctrl+u',
macOSCommand: 'cmd+u',
handler: (editorState) => _toggleAttribute(
editorState,
AppFlowyRichTextKeys.underline,
),
);