KeyRepeatEvent constructor Null safety

const KeyRepeatEvent(
  1. {required PhysicalKeyboardKey physicalKey,
  2. required LogicalKeyboardKey logicalKey,
  3. String? character,
  4. required Duration timeStamp}
)

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,
});