Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update widget_test.dart for an upstream LayoutBuilder fix #113

Merged
merged 5 commits into from
Jun 4, 2024

Conversation

LongCatIsLooong
Copy link
Contributor

@LongCatIsLooong LongCatIsLooong commented Jun 3, 2024

LayoutBuilder migration: LayoutBuilders no longer do double layout (currently the fix is behind a temporary flag LayoutBuilder.applyDoubleRebuildFix).

Related flutter/flutter PR: flutter/flutter#147856

Unfortunately the presubmit checks are currently run against the stable branch of flutter which does not have the migration flag yet so I removed the expect statement altogether.

strategy:
matrix:
flutter_info:
- {version: '3.10.0', channel: stable}

LayoutBuilder migration: LayoutBuilders no longer do double layout (currently the fix is behind a temporary flag).

Related flutter/flutter PR:  flutter/flutter#147856
@LongCatIsLooong LongCatIsLooong changed the title Update widget_test.dart Update widget_test.dart for an upstream LayoutBuilder fix Jun 3, 2024
@fzyzcjy
Copy link
Owner

fzyzcjy commented Jun 3, 2024

Hi, could you please comment out that line and make a comment pointing to this? Thanks!

@LongCatIsLooong
Copy link
Contributor Author

Done. For posterity, I think the flutter version specified in the github action has to be updated / unpinned at some point so the expect line can be uncommented.

@fzyzcjy
Copy link
Owner

fzyzcjy commented Jun 4, 2024

Totally agree! Btw, have you tried to update it (i.e. does CI directly work on 3.22)? I have not tried 3.22 yet, but if it works directly, then this PR may include that update.

EDIT: Make a PR here: #114

@LongCatIsLooong
Copy link
Contributor Author

Sorry I have not tried 3.22. The migration flag isn't part of the current stable release either (the pr that introduced it was merged today).

@fzyzcjy fzyzcjy merged commit 9881d3e into fzyzcjy:master Jun 4, 2024
1 check passed
@fzyzcjy fzyzcjy mentioned this pull request Jun 4, 2024
@fzyzcjy
Copy link
Owner

fzyzcjy commented Jun 4, 2024

Oh I see, no problem!

@LongCatIsLooong LongCatIsLooong deleted the patch-1 branch June 4, 2024 01:54
auto-submit bot pushed a commit to flutter/tests that referenced this pull request Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants