flutter/dev/manual_tests/lib
Greg Spencer 141d6e1394
Add support for detecting which modifier keys have been pressed on RawKeyboardEvents (#26265)
This adds some functions to the interface for RawKeyEventData and all subclasses that allow the recipient of an event to determine which modifier keys are currently being pressed without needing to know the specific modifier bitmasks for the platform.

Also adds constants for the modifier bitmasks for each platform, for completeness (and because I needed them anyhow to implement the above).

Added tests for the RawKeyEventData subclasses, and modified the raw_keyboard manual test app to show modifier keys being pressed. I also separated the different platform-specific subclasses into separate files.

Fixes #26155.
2019-01-11 13:41:45 -08:00
..
animated_icons.dart add missing type parameter on methods (#22096) 2018-10-01 21:29:08 +02:00
card_collection.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
color_testing_demo.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
drag_and_drop.dart Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
main.dart fix flutter run in dev/manual_tests (#25817) 2019-01-02 10:09:26 -08:00
material_arc.dart apply lint prefer_void_to_null in dev/ (#22661) 2018-10-04 18:44:23 +02:00
overlay_geometry.dart enable lint prefer_generic_function_type_aliases (#21680) 2018-09-14 21:06:19 +02:00
page_view.dart add missing type parameter on methods (#22096) 2018-10-01 21:29:08 +02:00
raw_keyboard.dart Add support for detecting which modifier keys have been pressed on RawKeyboardEvents (#26265) 2019-01-11 13:41:45 -08:00
text.dart add missing type parameter on methods (#22096) 2018-10-01 21:29:08 +02:00