KeyUpEvent constructor

const KeyUpEvent({
  1. required PhysicalKeyboardKey physicalKey,
  2. required LogicalKeyboardKey logicalKey,
  3. required Duration timeStamp,
  4. bool synthesized = false,
  5. KeyEventDeviceType deviceType = ui.KeyEventDeviceType.keyboard,
})

Creates a key event that represents the user pressing a key.

Implementation

const KeyUpEvent({
  required super.physicalKey,
  required super.logicalKey,
  required super.timeStamp,
  super.synthesized,
  super.deviceType,
});