Callback executed when a key event hits this node. Return true to consume the keypress and prevent it from bubbling up the tree.
true
bool Function(KeyEvent event)? onKeyEvent;