flutter / flutter/devtools

Deprecate `getRootWidgetSummaryTree` and `getRootWidgetSummaryTreeWithPreviews`

Đang mở
#7,902 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
cleanup P1 screen: inspector
Ngôn ngữ chính
Dart
Star
1.7k
Fork
404
Merge trung bình
6 ngày 17 giờ
Pull request đã merge (30 ngày)
18

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart
Lĩnh vực
devtools, testing
Loại issue
Tái cấu trúc
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.