flutter / flutter/devtools

Support showing constraints information besides the current size of a widget

Abierto
#9,434 0 comentarios 0 reacciones 0 asignados Ver en GitHub
P2 screen: inspector
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.