KeyMessageHandler typedef Null safety
The signature for KeyEventManager.keyMessageHandler.
A KeyMessageHandler processes a KeyMessage and returns whether the message is considered handled. Handled messages should not be propagated to other native components.
Implementation
typedef KeyMessageHandler = bool Function(KeyMessage message);