Deprecate `getRootWidgetSummaryTree` and `getRootWidgetSummaryTreeWithPreviews`
- Lingua principale
- Dart
- Stelle
- 1.7k
- Fork
- 404
- Merge medio
- 6g 17h
- PR unite (30g)
- 18
Descrizione
After DevTools is calling `getRootWidgetTree` (added in https://github.com/flutter/flutter/pull/150010) instead of `getRootWidgetSummaryTree` and `getRootWidgetSummaryTreeWithPreviews`, those two APIs can be deprecated and the tests for them can be removed from Flutter.
Note: Refer to https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#deprecations for the deprecation syntax and style.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Cerca getRootWidgetSummaryTree e getRootWidgetSummaryTreeWithPreviews in Flutter e DevTools, quindi confronta il loro utilizzo con getRootWidgetTree. Leggi docs/contributing/Tree-hygiene.md#deprecations per la sintassi e lo stile richiesti. Il lavoro è completato quando le due API precedenti sono deprecate e i relativi test Flutter sono rimossi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart
- Ambito
- devtools, testing
- Tipo di issue
- Refactoring
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100