devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Support showing constraints information besides the current size of a widget

Open xuanswe opened this issue 4 months ago • 0 comments

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

xuanswe avatar Sep 13 '25 12:09 xuanswe