KeyUpEvent constructor Null safety

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

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