KeyCode constructor

const KeyCode({
  1. KeyCodeName name = KeyCodeName.none,
  2. String char = '',
  3. MediaKeyCode media = MediaKeyCode.none,
  4. ModifierKeyCode modifiers = ModifierKeyCode.none,
  5. int baseLayoutKey = 0,
})

Constructs a new instance of KeyCode.

Implementation

const KeyCode({
  this.name = KeyCodeName.none,
  this.char = '',
  this.media = MediaKeyCode.none,
  this.modifiers = ModifierKeyCode.none,
  this.baseLayoutKey = 0,
});