简体   繁体   English

在 flutter 中调试时如何定位特定的小部件

[英]How do you locate a specific widget when debugging in flutter

Newbie question here, how do you locate a specific widget in flutter?新手问题在这里,您如何在 flutter 中找到特定的小部件? Like in android studio, you can just double click the item in the preview then it will automatically jump into the code.就像在 android studio 中一样,您只需双击预览中的项目,它就会自动跳转到代码中。

You can inspect widgets bt using the Flutter Inspector in Android Studio Just click View-> Tool Windows -> Flutter Inspector您可以使用 Android Studio 中的 Flutter Inspector 检查小部件 bt 只需单击 View-> Tool Windows -> ZC047610EEE71CCE2686

Read here to find out more. 阅读此处了解更多信息。

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

相关问题 Flutter:当你离开屏幕或按下返回时,你如何摆脱一个小部件? - Flutter: How do you get rid of a widget when you leave the screen or press back? 当我单击 flutter 到检查器的小部件时,如何将 function 设置为自动 go 到该代码? - How do I set the function to automatically go to that code when I click the widget from flutter to the inspector? 在Android Studio中使用Flutter进行调试时,如何“设置值…” - How to “Set Value…” when debugging with Flutter in Android Studio 如何在 flutter 中安装密钥库? - How do you install the keystore in flutter? 如何减小 Flutter 抽屉内开关小部件的宽度 - How do i decrease the width of a switch widget inside a drawer in Flutter "单击主屏幕小部件时如何打开特定片段" - How to open a specific Fragment when clicking on a home screen widget Android Studio Flutter 断点调试时禁用 - Android Studio Flutter breakpoint is disabled when debugging 如何在 Android Studio 中自动格式化代码以保存 Flutter? - How do you auto format code in Android Studio on save for Flutter? 在 flutter 中:提取小部件时必要的“必需”关键字 - In flutter: the necessary "required" keyword when extracting a widget 调试主屏幕小部件时,调试器在 Android Studio 中断开连接 - Debugger disconnecting in Android Studio when debugging a home screen widget
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM