TerminalKeyboardEvent constructor

TerminalKeyboardEvent({
  1. required TerminalKey key,
  2. required bool shift,
  3. required bool ctrl,
  4. required bool alt,
  5. bool superKey = false,
  6. bool capsLock = false,
  7. bool numLock = false,
  8. required TerminalState state,
  9. required bool altBuffer,
  10. required TerminalTargetPlatform platform,
  11. TerminalKeyEventType type = TerminalKeyEventType.press,
  12. String? text,
})

Implementation

TerminalKeyboardEvent({
  required this.key,
  required this.shift,
  required this.ctrl,
  required this.alt,
  this.superKey = false,
  this.capsLock = false,
  this.numLock = false,
  required this.state,
  required this.altBuffer,
  required this.platform,
  this.type = TerminalKeyEventType.press,
  this.text,
});