KeyEvent constructor
const
KeyEvent(})
Creates a KeyEvent.
Implementation
const KeyEvent(
this.key,
this.type, {
this.modifiers = const <Modifier>{},
this.eventType = KeyEventType.press,
this.shiftedCodepoint,
this.baseLayoutCodepoint,
});