Key.fromRune constructor
Creates a key from a single rune.
Implementation
factory Key.fromRune(
int rune, {
bool ctrl = false,
bool alt = false,
bool shift = false,
}) {
return Key(
KeyType.runes,
runes: [rune],
ctrl: ctrl,
alt: alt,
shift: shift,
);
}