TouchSurfaceBuilder constructor

const TouchSurfaceBuilder({
  1. required List<List<TouchSurfaceBuilderCommand>> commands,
  2. bool autofocus = true,
  3. bool canRequestFocus = true,
  4. FocusNode? focusNode,
  5. List<GameShortcut> extraShortcuts = const [],
  6. Key? key,
})

Create an instance.

Implementation

const TouchSurfaceBuilder({
  required this.commands,
  this.autofocus = true,
  this.canRequestFocus = true,
  this.focusNode,
  this.extraShortcuts = const [],
  super.key,
});