KeyEvent constructor

const KeyEvent(
  1. String key,
  2. KeyType type, {
  3. Set<Modifier> modifiers = const <Modifier>{},
})

Creates a KeyEvent.

Implementation

const KeyEvent(this.key, this.type, {this.modifiers = const <Modifier>{}});