flutter / flutter/devtools

Deprecate `getRootWidgetSummaryTree` and `getRootWidgetSummaryTreeWithPreviews`

Abierto
#7,902 0 comentarios 0 reacciones 0 asignados Ver en GitHub
cleanup P1 screen: inspector
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
dart
Área
devtools, testing
Tipo de issue
Refactorización
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.