TouchSurfaceBuilderCommand constructor

const TouchSurfaceBuilderCommand({
  1. required String title,
  2. required GameShortcutsShortcut shortcut,
  3. Widget? child,
  4. ContextCallback? onStart,
  5. ContextCallback? onStop,
  6. bool controlKey = false,
  7. bool altKey = false,
  8. bool shiftKey = false,
})

Create an instance.

Implementation

const TouchSurfaceBuilderCommand({
  required super.title,
  required super.shortcut,
  this.child,
  super.onStart,
  super.onStop,
  super.controlKey = false,
  super.altKey = false,
  super.shiftKey = false,
});