Callback invoked when a keyboard key is pressed down.
final void Function(KeyboardEvent e)? onKeyDown;