CommandShortcutEvent constructor
CommandShortcutEvent({})
Implementation
CommandShortcutEvent({
required this.key,
required this.command,
required this.handler,
required String Function()? getDescription,
String? windowsCommand,
String? macOSCommand,
String? linuxCommand,
}) : _getDescription = getDescription {
updateCommand(
command: command,
windowsCommand: windowsCommand,
macOSCommand: macOSCommand,
linuxCommand: linuxCommand,
);
}