onKeyEvent method
Implementation
@override
@mustCallSuper
bool onKeyEvent(KeyEvent event, Set<LogicalKeyboardKey> keysPressed) {
var handled = false;
for (final fn in _keyEventFns) {
handled |= fn(event, keysPressed) ?? true;
}
return handled;
}