Skip to content

Conversation

@elliette
Copy link
Member

@elliette elliette commented Jun 10, 2024

The new service extension getRootWidgetTree can be used instead of the existing:

  • getRootWidgetSummaryTree --> usegetRootWidgetTree with parameters isSummaryTree=true
  • getRootWidgetSummaryTreeWithPreviews --> use getRootWidgetTree with parameters isSummaryTree=true and withPreviews=true

This new service extension will enable Flutter DevTools to combine the widget summary tree with the widget details tree by calling getRootWidgetTree with isSummary=false and withPreviews=true.

Closes flutter/devtools#7894

@elliette elliette requested a review from kenzieschmoll June 10, 2024 18:15
@github-actions github-actions bot added the framework flutter/packages/flutter repository. See also f: labels. label Jun 10, 2024
@elliette elliette added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 11, 2024
@auto-submit auto-submit bot merged commit 1f93809 into flutter:master Jun 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 12, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 12, 2024
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request Jun 14, 2024
…tter#150010)

The new service extension `getRootWidgetTree` can be used instead of the existing:

* `getRootWidgetSummaryTree` -->  use`getRootWidgetTree` with parameters `isSummaryTree=true`
* `getRootWidgetSummaryTreeWithPreviews` --> use `getRootWidgetTree` with parameters `isSummaryTree=true` and `withPreviews=true`

This new service extension will enable Flutter DevTools to combine the widget summary tree with the widget details tree by calling `getRootWidgetTree` with `isSummary=false` and `withPreviews=true`. 

Closes flutter/devtools#7894
victorsanni pushed a commit to victorsanni/flutter that referenced this pull request Jun 14, 2024
…tter#150010)

The new service extension `getRootWidgetTree` can be used instead of the existing:

* `getRootWidgetSummaryTree` -->  use`getRootWidgetTree` with parameters `isSummaryTree=true`
* `getRootWidgetSummaryTreeWithPreviews` --> use `getRootWidgetTree` with parameters `isSummaryTree=true` and `withPreviews=true`

This new service extension will enable Flutter DevTools to combine the widget summary tree with the widget details tree by calling `getRootWidgetTree` with `isSummary=false` and `withPreviews=true`. 

Closes flutter/devtools#7894
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a new API to the widget inspector service

2 participants