KeyStroke.printable constructor

const KeyStroke.printable(
  1. String char
)

Creates a keystroke for a printable character.

Implementation

const KeyStroke.printable(this.char)
  : assert(char.length == 1),
    isControl = false,
    controlChar = ControlCharacter.none;