flutter / flutter/devtools

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

Ouverte
#2,272 3 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
P3 screen: inspector
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
dart
Domaine
devtools
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.