GameShortcut constructor
const
GameShortcut({
- required String title,
- required GameShortcutsShortcut shortcut,
- ContextCallback? onStart,
- ContextCallback? onStop,
- bool controlKey = false,
- bool metaKey = false,
- bool altKey = false,
- bool shiftKey = false,
Create an instance.
Implementation
const GameShortcut({
required this.title,
required this.shortcut,
this.onStart,
this.onStop,
this.controlKey = false,
this.metaKey = false,
this.altKey = false,
this.shiftKey = false,
});