flutter / flutter/devtools

Support BuiltValue in the inspector

Abierto
#3,113 1 comentario 0 reacciones 0 asignados Ver en GitHub
P3 screen: debugger screen: inspector
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

May applications particularly in g3 use BuiltValue heavily in their widget code. BuiltValue objects are not expandable which is confusing as they look a lot like Diagnosticable values that are.

The toString representation for Diagnosticable is lso slightly confusingly inconsistent with the one used by Flutter.
Extend the Inspector and Debugger views in DevTools so that BuiltValue is always expandable.

Bonus: make BuiltValue editable by understanding the builder patters for built value.

Fyi @davidmorgan.
One option would be to support BuiltValue types that extend Diagnosticable. Another option is to put the logical all in DevTools.

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.