flutter / flutter/devtools

Not clear how to find upstream TextStyle provenance from a Text in the widget inspector

Abierto
#2,272 3 comentarios 1 reacción 0 asignados Ver en GitHub
P3 screen: inspector
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

I'm fixing https://github.com/flutter/flutter/issues/60013. Using DevTools to look at where the TextStyle is coming from.

![Screen Shot 2020-08-11 at 9 57 38 PM](https://user-images.githubusercontent.com/156888/89976586-ac3c0b80-dc1d-11ea-9ca8-f76cd3e5262d.png)

Not clear from the UI how to do it. The `dependencies` attribute look promising but it doesn't expand into anything.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reproducing the reported case in the DevTools widget inspector and inspect the Text widget's TextStyle and dependencies attributes. The work is done when the UI clearly exposes how to trace a TextStyle back to its upstream source, with the dependencies information providing a usable expansion or equivalent path.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
dart
Área
devtools
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.