Deprecate `getRootWidgetSummaryTree` and `getRootWidgetSummaryTreeWithPreviews`
- Langage dominant
- Dart
- Étoiles
- 1.7k
- Forks
- 404
- Merge moyen
- 6 j 17 h
- PR mergées (30 j)
- 18
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- dart
- Domaine
- devtools, testing
- Type d'issue
- Refactorisation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100