flutter / flutter/devtools

Dev Tools , count widget build can't be activated

未关闭
#9,463 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug P2 screen: performance
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

I'm facing an issue in Flutter DevTools (version 2.48.0) within the Performance tab, specifically related to the Rebuild Stats section.
When profiling my Flutter app (profile build) on an Android device (arm64), the “Widget build counts” and “Inactive” buttons in the Rebuild Stats panel appear disabled (unclickable).
I’m unable to press them or view any rebuild statistics for my widgets.
🔍 Steps to reproduce:
Run the app in profile mode.
Open DevTools → Performance tab.
Enable “Track widget rebuilds”.
Start recording, then stop to view the results.
Try to click on “Rebuild Stats” or the “Widget build counts” button → both remain inactive.
💡 Expected behavior:
The Rebuild Stats button should be clickable and display detailed widget rebuild statistics after recording performance data.
⚠️ Actual behavior:
The button stays disabled even after recording widget rebuilds. No rebuild stats are shown.
___
**DevTools version**: 2.48.0
**IDE**: VSCode
**Connected Device**:
CPU / OS: arm64 (64 bit) android
Connected app type: Flutter native (profile build)
Dart Version: 3.9.2
Flutter Version: 3.35.6 / stable
Framework / Engine: 9f455d2486 / d2913632a4

贡献指南

打开贡献指南

调研方向

从 Performance 标签页的 Rebuild Stats 流程开始,使用 Flutter DevTools 2.48.0 和 profile 模式的 Android 应用复现该问题。检查 Track widget rebuilds、recording、Rebuild Stats 和 Widget build counts 状态;完成标准是录制后控件变得可点击并显示重建统计信息。

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

评估

技术栈
dart, flutter
领域
devtools, performance
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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