KeyEvent constructor
const
KeyEvent(
- KeyCode code, {
- KeyModifiers modifiers = KeyModifiers.none,
- KeyEventType eventType = KeyEventType.keyPress,
Constructs a new instance of KeyEvent.
Implementation
const KeyEvent(
this.code, {
this.modifiers = KeyModifiers.none,
this.eventType = KeyEventType.keyPress,
});