CrossPlatformSingleActivator constructor

CrossPlatformSingleActivator(
  1. LogicalKeyboardKey trigger, {
  2. bool shift = false,
  3. bool alt = false,
  4. LockState numLock = LockState.ignored,
  5. bool includeRepeats = true,
})

Create an instance.

Implementation

CrossPlatformSingleActivator(
  super.trigger, {
  super.shift,
  super.alt,
  super.numLock,
  super.includeRepeats,
}) : super(control: useControlKey, meta: useMetaKey);