flutter / flutter/devtools

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

Abierto
#8,556 0 comentarios 0 reacciones 0 asignados Ver en GitHub
inspector-2.0-polish object inspector P2
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

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]`

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.