homeCommand top-level property
Home key event.
- support
- desktop
- web
Implementation
final CommandShortcutEvent homeCommand = CommandShortcutEvent(
key: 'scroll to the top of the document',
getDescription: () => AppFlowyEditorL10n.current.cmdScrollToTop,
command: 'ctrl+home',
macOSCommand: 'home',
handler: _homeCommandHandler,
);