RawKeyEventHandler typedef Null safety
- RawKeyEvent event
A callback type used by RawKeyboard.keyEventHandler to send key events to a handler that can determine if the key has been handled or not.
The handler should return true if the key has been handled, and false if the key was not handled. It must not return null.
typedef RawKeyEventHandler = bool Function(RawKeyEvent event);