GameShortcut constructor

const GameShortcut({
  1. required String title,
  2. required GameShortcutsShortcut shortcut,
  3. ContextCallback? onStart,
  4. ContextCallback? onStop,
  5. bool controlKey = false,
  6. bool metaKey = false,
  7. bool altKey = false,
  8. 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,
});