Skip to content

Conversation

@xu-baolin
Copy link
Member

@xu-baolin xu-baolin commented May 30, 2022

Fixes #103741
Blocked by #104954
Blocked by #104998

Insert or remove a widget middle of the tree will cause all of the sub-tree to be detached and cause the body sub-tree to lose its state.
Two solutions,
1, Use a Global key
2, Keep the tree structure during configurations change

But I think the Global key is expensive.

@flutter-dashboard flutter-dashboard bot added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels May 30, 2022
Copy link
Contributor

@LongCatIsLooong LongCatIsLooong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xu-baolin xu-baolin requested a review from LongCatIsLooong June 9, 2022 01:29
@xu-baolin
Copy link
Member Author

Hi, @LongCatIsLooong, could you review this again? thx.

@fluttergithubbot fluttergithubbot merged commit ea28f28 into flutter:master Jun 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Jun 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Jun 16, 2022
xu-baolin added a commit that referenced this pull request Jun 22, 2022
camsim99 pushed a commit to camsim99/flutter that referenced this pull request Aug 10, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 30, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PageView not rendering page correctly with conditional extendBodyBehindAppBar

3 participants