The Widget Tree is displaying widget names incorrectly
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- dart, flutter
调研方向
首先,在 issue 中描述的 Flutter 环境下于 DevTools 的 Widget Tree 中复现问题,然后将显示的名称与附带的屏幕截图进行比较。跟踪 Widget Tree 名称渲染的入口点,并通过确认受影响的 widget 名称与预期显示一致来验证修复。
由索引模型根据 Issue 内容生成。
描述
[✓] Flutter (Channel stable, 3.41.6, on macOS 26.4.1 25E253 darwin-arm64, locale en-UZ) [563ms]
• Flutter version 3.41.6 on channel stable at /Users/xusanboy/develop/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision db50e20168 (3 weeks ago), 2026-03-25 16:21:00 -0700
• Engine revision 425cfb54d0
• Dart version 3.11.4
• DevTools version 2.54.2
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android,
enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging,
enable-uiscene-migration
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [2.5s]
• Android SDK at /Users/xusanboy/Library/Android/sdk
• Emulator version 36.5.10.0 (build_id 15081367) (CL:N/A)
• Platform android-36.1, build-tools 36.1.0
• ANDROID_HOME = /Users/xusanboy/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 21.0.10+-117844308-b1163.108)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.4) [1,130ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17E192
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [4ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (6 available) [7.1s]
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 16 (API 36)
(emulator)
• Zoirbek’s iPhone (wireless) (mobile) • 00008130-0008383C3A38001C • ios • iOS 26.3 23D127
• I.S.K.A.N.D.A.R (wireless) (mobile) • 00008030-000A68513AC3402E • ios • iOS 26.3.1 23D8133
• iPhone 13 mini (mobile) • 771E394B-6E0D-4F9A-A1A4-82DADCDB8B4C • ios •
com.apple.CoreSimulator.SimRuntime.iOS-26-4 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 26.4.1 25E253
darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome
147.0.7727.56
[✓] Network resources [479ms]
• All expected network resources are available.
• No issues found!
- 主要语言
- Dart
- 星标
- 1.7k
- 派生
- 405
- 平均合并
- 4 天 21 小时
- 30 天内合并 PR
- 15
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
flutter/devtools 的其他 Issue
-
cleanup P1
难度 2/5 1-3 小时 新手友好度 85/100
-
a: quality cost: low P2
难度 2/5 1-3 小时 新手友好度 68/100
-
contributions welcome cross-screen inspector-2.0-polish P2
难度 2/5 1-3 小时 新手友好度 65/100
-
cross-screen P3
难度 2/5 1-3 小时 新手友好度 68/100
-
documentation good first issue P2
难度 1/5 1 小时以内 新手友好度 88/100
相似的 Issue
-
status: needs-triage
难度 2/5 1-3 小时 新手友好度 90/100
a2ui-project/a2ui#2782 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
MaikuB/flutter_local_notifications#2832 · 1 条评论 ·
-
bug triage
难度 2/5 1-3 小时 新手友好度 70/100
fluttercommunity/plus_plugins#3979 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
from.page-issue
难度 1/5 1 小时以内 新手友好度 85/100