Results for “HardwareKeyboard”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- HardwareKeyboardclass
Manages key events from hardware keyboards. services.HardwareKeyboard HardwareKeyboard Hardware Keyboard class services
- HardwareKeyboard.newconstructor
services.HardwareKeyboard.HardwareKeyboard.new HardwareKeyboard new Hardware Keyboard.new constructor services
- services.KeyEventCallbacktypedef
signature for HardwareKeyboard.addHandler, a callback to decide whether the entire framework handles a key event. services.KeyEventCallback KeyEventCallback Key Event Callback typedef services
Version changes
- Migrate RawKeyEvent/RawKeyboard system to KeyEvent/HardwareKeyboard system3.19.0breaking
For some time now (years), Flutter has had two key event systems
- Migrate ShortcutActivator and ShortcutManager to KeyEvent system3.16.0breaking
switch to using a `KeyboardListener` instead. If you're accessing `RawKeyboard` directly, use `HardwareKeyboard` instead. You'll find that there are non-raw equivalents