KeyEventCallback typedef

KeyEventCallback = bool Function(KeyEvent event)

The signature for HardwareKeyboard.addHandler, a callback to decide whether the entire framework handles a key event.

Implementation

typedef KeyEventCallback = bool Function(KeyEvent event);