tom8zds

Results 6 comments of tom8zds

get the same issue on official example [logicalkeyboardkey](https://api.flutter.dev/flutter/services/LogicalKeyboardKey-class.html) modify the build method by require focus before return and look like this ``` @override Widget build(BuildContext context) { final TextTheme textTheme...

flutter doctor -v [✓] Flutter (Channel stable, 1.22.4, on Linux, locale zh_CN.UTF-8) • Flutter version 1.22.4 at /home/yunjie/snap/flutter/common/flutter • Framework revision 1aafb3a8b9 (11 天前), 2020-11-13 09:59:28 -0800 • Engine revision...

Code ``` /// Flutter code sample for PhysicalKeyboardKey // This example shows how to detect if the user has selected the physical key // to the right of the CAPS...

android, here is what i get on sdk emulator | | | |---|---| |![untitled](https://user-images.githubusercontent.com/20534594/100088594-55380a80-2e8b-11eb-805f-45739e37affb.gif)|![issue](https://user-images.githubusercontent.com/20534594/100088602-579a6480-2e8b-11eb-8d24-d15a51b7a169.gif)|

simulate key press not help, seems only calling keyboard is functional, because hardkeys will call virtual keyboard too ``` Future pressKey() async { await simulateKeyDownEvent(LogicalKeyboardKey.keyA); await simulateKeyUpEvent(LogicalKeyboardKey.keyA); print('A'); } @override...

> I believe this is an issue with the emulator only. When I try either your initial code, or the modified example code, both of them work properly on an...