RawKeyboardListener is deprecated after Flutter v3.18; use KeyboardListener, Focus.onKeyEvent, and HardwareKeyboard to handle keys.