flutter / flutter/devtools

Use `RemoteDiagnosticNode.description` instead of `RemoteDiagnosticNode.widgetRuntimeType`

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

説明

The JSON response for the widget tree currently contains a field titled `description` and a field titled `widgetRuntimeType`.

However, the `widgetRuntimeType` can be computed from the description, which is what we are currently doing in the Flutter Widget Inspector.

Examples:

Widget runtime type: `RootWidget`
description: `[root]`

Widget runtime type: `_InkFeatures`
description: `_InkFeatures-[GlobalKey#af894 ink renderer]`

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

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

評価

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

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

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