KeyPressListener constructor

KeyPressListener({
  1. required Logger logger,
})

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

Implementation

KeyPressListener({
  required this.logger,
});