flutter / flutter/devtools

DevTools "Count widget builds" only works in debug mode, not in --profile mode

Đang mở
#9,516 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
cost: low P3 screen: performance
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

### Steps to reproduce

1. flutter run --profile --track-widget-creation
2. Open DevTools → Performance
3. The "Count widget builds" checkbox is greyed out.

### Expected results

The flag name `--track-widget-creation` suggests this should still be
available in profile mode. Documentation should clarify that widget build tracking is available debug-only.

### Actual results

I could not check the box to display the widget rebuilds, and the tooltip was not any help either. Documentation never mentions this. AI doesn't know.

### Code sample

Code sample

```dart
[Paste your code here]
```

### Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

### Logs

Logs

```console
[Paste your logs here]
```

### Flutter Doctor output

Doctor output

```console
[Paste your output here]
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.