KeyDownEvent constructor
- required PhysicalKeyboardKey physicalKey,
- required LogicalKeyboardKey logicalKey,
- String? character,
- required Duration timeStamp,
- bool synthesized = false,
- KeyEventDeviceType deviceType = ui.KeyEventDeviceType.keyboard,
Creates a key event that represents the user pressing a key.
Implementation
const KeyDownEvent({
required super.physicalKey,
required super.logicalKey,
super.character,
required super.timeStamp,
super.synthesized,
super.deviceType,
});