flutter/packages/flutter_test
Greg Spencer 028ed7122a
Synchronize modifier keys in RawKeyboard.keysPressed with modifier flags on events. (#43948)
Currently, we listen to keyboard events to find out which keys should be represented in RawKeyboard.instance.keysPressed, but that's not sufficient to represent the physical state of the keys, since modifier keys could have been pressed when the overall app did not have keyboard focus (especially on desktop platforms).

This PR synchronizes the list of modifier keys in keysPressed with the modifier key flags that are present in the raw key event so that they can be relied upon to represent the current state of the keyboard. When synchronizing these states, we don't send any new key events, since they didn't happen when the app had keyboard focus, but if you ask "is this key down", we'll give the right answer
2019-11-06 14:52:55 -08:00
..
lib Synchronize modifier keys in RawKeyboard.keysPressed with modifier flags on events. (#43948) 2019-11-06 14:52:55 -08:00
test CupertinoTheme & CupertinoTextTheme dark mode updates (#41859) 2019-10-28 15:50:08 -07:00
BUILD.gn Update BUILD.gn for package:flutter_test (#38916) 2019-08-20 15:10:23 -07:00
pubspec.yaml Roll dart package dependencies (#42496) 2019-10-11 11:12:31 -07:00