flutter / flutter/devtools

Deprecate `getRootWidgetSummaryTree` and `getRootWidgetSummaryTreeWithPreviews`

Open
#7,902 0 comments 0 reactions 0 assignees View on GitHub
cleanup P1 screen: inspector
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.