Deprecate `getRootWidgetSummaryTree` and `getRootWidgetSummaryTreeWithPreviews`
- Dominant language
- Dart
- Stars
- 1.7k
- Forks
- 404
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 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.
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- devtools, testing
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100