flutter / flutter/devtools

Deprecate `getRootWidgetSummaryTree` and `getRootWidgetSummaryTreeWithPreviews`

Offen
#7,902 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
cleanup P1 screen: inspector
Vorherrschende Sprache
Dart
Sterne
1.7k
Forks
404
Ø Merge
6 T. 17 Std.
Gemergte PRs (30 T.)
18

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Search Flutter and DevTools for getRootWidgetSummaryTree and getRootWidgetSummaryTreeWithPreviews, then compare their usage with getRootWidgetTree. Read docs/contributing/Tree-hygiene.md#deprecations for the required syntax and style. Done means the two older APIs are deprecated and their Flutter tests are removed.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart
Bereich
devtools, testing
Issue-Typ
Refactoring
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.