KeyEventCallback typedef Null safety
The signature for HardwareKeyboard.addHandler, a callback to to decide whether the entire framework handles a key event.
Implementation
typedef KeyEventCallback = bool Function(KeyEvent event);
The signature for HardwareKeyboard.addHandler, a callback to to decide whether the entire framework handles a key event.
typedef KeyEventCallback = bool Function(KeyEvent event);