Use `RemoteDiagnosticNode.description` instead of `RemoteDiagnosticNode.widgetRuntimeType`
Open
inspector-2.0-polish
object inspector
P2
- Dominant language
- Dart
- Stars
- 1.7k
- Forks
- 404
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 18
Description
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]`
Contributor guide
Assessment
This issue has not been assessed yet.