KeyCode.char constructor

const KeyCode.char(
  1. String char, {
  2. int baseLayoutKey = 0,
  3. bool shiftProduced = false,
})

Constructs a character key

Implementation

const KeyCode.char(String char, {int baseLayoutKey = 0, bool shiftProduced = false})
  : this._(
      kind: KeyCodeKind.char,
      char: char,
      baseLayoutKey: baseLayoutKey,
      shiftProduced: shiftProduced,
    );