简体   繁体   English

Flutter Inspector切换选择“小部件”模式不起作用。

[英]Flutter Inspector Toggle Select Widget mode not working.

I have build a Flutter app solely made of Stateless Widgets. 我建立了仅由无状态小组件组成的Flutter应用程序。
I run my main.dart (no debug mode) when I toggle the "Toggle Select Widget mode" button, and the widgets tree displays correctly. 切换“切换选择小部件模式”按钮时,我运行main.dart (无调试模式),并且小部件树正确显示。

Problem : I am able to click ONE widget in my UI, but then 问题 :我可以在UI中单击一个小部件,但是

  1. The Widget tree pane does not show the widget I have clicked. 窗口小部件树窗格不显示我单击的窗口小部件。 There is no change. 没有变化。
  2. Afterwards, I am unable to click/select any other widget. 之后,我将无法单击/选择任何其他小部件。

I have tried: 我努力了:

  • toggling the Select Widget button off and back on 关闭选择小部件按钮然后重新打开
  • rebooting main.dart 重新启动main.dart

I use Android Studio 3.1.2. 我使用的是Android Studio 3.1.2。 My emulator is an iPhone 6s virtual device (I have also tried on a Nexus Android device, in vain). 我的模拟器是iPhone 6s虚拟设备(我也曾在Nexus Android设备上尝试过,但是徒劳)。 Here is a copy of my working screen , should it be useful. 这是我的工作屏幕副本 ,如果有用的话。

Do you have an idea what I did wrong? 你知道我做错了什么吗? Thanks much. 非常感谢。

从Android Studio 3.2版(2018年9月17日构建)开始,该问题似乎已解决。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM