flutter / flutter/devtools

Add ability to search by the text in a widget preview

Aperta
#8,165 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
inspector-2.0-polish P2 screen: inspector
Lingua principale
Dart
Stelle
1.7k
Fork
404
Merge medio
6g 17h
PR unite (30g)
18

Descrizione

Currently we can search in the Widget Tree by the Widget name. One of the suggestions that came up in the walkthrough was to be able to search by the text in the widget (which is displayed as part of the widget previews).

E.g. for the widget below, instead of searching for `Text` (which might find hundreds of widgets), search for "Artisans of Southern India"

Screenshot 2024-08-06 at 3 21 22 PM

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start in the Widget Tree search entry point and trace how widget previews expose their displayed text. The issue provides no file or test names, so first locate the existing widget-name search and related tests; done means searching for preview text such as “Artisans of Southern India” returns the matching widget without relying on its name.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.