GameShortcuts constructor

const GameShortcuts({
  1. required List<GameShortcut> shortcuts,
  2. required Widget child,
  3. bool autofocus = true,
  4. FocusNode? focusNode,
  5. bool canRequestFocus = true,
  6. Key? key,
})

Create an instance.

Implementation

const GameShortcuts({
  required this.shortcuts,
  required this.child,
  this.autofocus = true,
  this.focusNode,
  this.canRequestFocus = true,
  super.key,
});