flutter / flutter/devtools

Support showing constraints information besides the current size of a widget

Aperta
#9,434 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
P2 screen: inspector
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

## 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.