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