Results for “Focus.onKey”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- widgets.FocusOnKeyCallbacktypedef
Signature of a callback used by Focus.onKey and FocusScope.onKey to receive key events. widgets.FocusOnKeyCallback FocusOnKeyCallback Focus On Key Callback typedef widgets
- widgets.FocusOnKeyEventCallbacktypedef
Signature of a callback used by Focus.onKeyEvent and FocusScope.onKeyEvent to receive key events. widgets.FocusOnKeyEventCallback FocusOnKeyEventCallback Focus On Key Event Callback typedef widgets
Version changes
- Migrate ShortcutActivator and ShortcutManager to KeyEvent system3.16.0breaking
Depending on where you get them, this can either mean switching to using `Focus.onKeyEvent` instead of `Focus.onKey`, or a similar change if using `FocusScope`, `FocusNode` or `FocusScopeNode
- Migrate RawKeyEvent/RawKeyboard system to KeyEvent/HardwareKeyboard system3.19.0breaking
For some time now (years), Flutter has had two key event systems