utils/key_press_listener library

Classes

KeyPressListener
A class that listens for key presses from stdin and emits the key presses to the stream.

Typedefs

Event = void Function()
KeyMap = Map<dynamic, FutureOr<void> Function()>
Type of Map<dynamic, void Function()>