flutter / flutter/devtools

Support showing constraints information besides the current size of a widget

オープン
#9,434 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
P2 screen: inspector
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。