KeyRepeatEvent constructor

const KeyRepeatEvent({
  1. required PhysicalKeyboardKey physicalKey,
  2. required LogicalKeyboardKey logicalKey,
  3. String? character,
  4. required Duration timeStamp,
  5. KeyEventDeviceType deviceType = ui.KeyEventDeviceType.keyboard,
})

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

Implementation

const KeyRepeatEvent({
  required super.physicalKey,
  required super.logicalKey,
  super.character,
  required super.timeStamp,
  super.deviceType,
});