KeyEvent constructor Null safety
- {required PhysicalKeyboardKey physicalKey,
- required LogicalKeyboardKey logicalKey,
- String? character,
- required Duration timeStamp,
- bool synthesized = false}
Create a const KeyEvent by providing each field.
Implementation
const KeyEvent({
required this.physicalKey,
required this.logicalKey,
this.character,
required this.timeStamp,
this.synthesized = false,
});