flutter / flutter/devtools

Support showing constraints information besides the current size of a widget

Đang mở
#9,434 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
P2 screen: inspector
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ả

## Problem

I use the code in https://docs.flutter.dev/ui/layout/constraints to demonstrate my issue.

In the examples below, it is not possible to know immediately the constraints that is applied on some widgets.
To find that information, we need to find in a nearest ancestor that provides the **Render object** tab or the widget that has constraints property.
It would be nice if by selecting any widget, we can answer immediately the question: "What is the constraints this widget received from its parent?"

Image

Image

## Expectation

I would expect something similar to **Flex explorer** tab:

Image

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.