Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

The Widget Tree is displaying widget names incorrectly

未关闭
#9,769 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
dart, flutter

调研方向

首先,在 issue 中描述的 Flutter 环境下于 DevTools 的 Widget Tree 中复现问题,然后将显示的名称与附带的屏幕截图进行比较。跟踪 Widget Tree 名称渲染的入口点,并通过确认受影响的 widget 名称与预期显示一致来验证修复。

由索引模型根据 Issue 内容生成。

描述

bug ide: intellij / android-studio P2 screen: inspector
Image Image

[✓] 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

flutter/devtools 的其他 Issue

查看 flutter/devtools 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。