Results for “KeyEvent”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Version changes
- Migrate RawKeyEvent/RawKeyboard system to KeyEvent/HardwareKeyboard system3.19.0breaking
longer supported. One exception is that [`RawKeyEventDataAndroid.eventSource`][] information is accessible now as [`KeyEvent.deviceType`][] in a more platform independent form. #### Migrating `isKeyPressed` and related functions If the legacy code
- Migrate ShortcutActivator and ShortcutManager to KeyEvent system3.16.0breaking
previous section. ### Migrating your APIs that use `ShortcutActivator` or its subclasses. Pass a `KeyEvent` instead of a `RawKeyEvent` to `ShortcutActivator.accepts`. This may mean switching where
- Replace curly braces with lambdas in `KeyEventChannelTest`3.38.0platform
Replace curly braces with lambdas in `KeyEventChannelTest` (Android, by @AbdeMohlbi). KeyEventChannelTest