KeyData constructor
- required Duration timeStamp,
- required KeyEventType type,
- required int physical,
- required int logical,
- required String? character,
- required bool synthesized,
- KeyEventDeviceType deviceType = KeyEventDeviceType.keyboard,
Creates an object that represents a key event.
Implementation
const KeyData({
required this.timeStamp,
required this.type,
required this.physical,
required this.logical,
required this.character,
required this.synthesized,
this.deviceType = KeyEventDeviceType.keyboard,
});