Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use RemoteDiagnosticNode.description instead of RemoteDiagnosticNode.widgetRuntimeType #8556

Open
elliette opened this issue Nov 25, 2024 · 0 comments
Labels
inspector-2.0-polish Polish work that can be tackled once Inspector 2.0 has landed. object inspector P2 important to work on, but not at the top of the work list.

Comments

@elliette
Copy link
Member

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]

@elliette elliette added object inspector P2 important to work on, but not at the top of the work list. inspector-2.0-polish Polish work that can be tackled once Inspector 2.0 has landed. labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inspector-2.0-polish Polish work that can be tackled once Inspector 2.0 has landed. object inspector P2 important to work on, but not at the top of the work list.
Projects
None yet
Development

No branches or pull requests

1 participant