Remove Deprecated RenderUnconstrainedBox#111711
Merged
auto-submit[bot] merged 2 commits intoflutter:masterfrom Sep 20, 2022
Merged
Remove Deprecated RenderUnconstrainedBox#111711auto-submit[bot] merged 2 commits intoflutter:masterfrom
auto-submit[bot] merged 2 commits intoflutter:masterfrom
Conversation
Contributor
Author
|
@LongCatIsLooong can you advise what the migration is for this deprecation? There is no guide at https://docs.flutter.dev/release/breaking-changes. I'd like to see if I can add a dart fix for this. There are a bunch of tests in box_test.dart that need to be migrated or removed, I am not sure which. |
LongCatIsLooong
approved these changes
Sep 16, 2022
Contributor
|
I think
|
Contributor
Author
|
Oh fabulous, thank you! I think I can write an auto-fix for it then. |
Contributor
|
The widget using the deprecated render object at the time ( |
Contributor
Author
|
Unfortunately the dart fix did not work as expected, filed dart-lang/sdk#50011 to track and follow up. I think this can move ahead, and I will include the expected transforms in the migration guide. |
This was referenced Sep 20, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/packages
that referenced
this pull request
Sep 20, 2022
engine-flutter-autoroll
added a commit
to engine-flutter-autoroll/plugins
that referenced
this pull request
Sep 20, 2022
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP - tests still need to be migrated
This removes
RenderUnconstrainedBoxThis deprecated class has reached end of life after the release of Flutter 3.3
RenderConstraintsTransformBox instead.replacedByfeaturePart of #111708
For the full list of deprecations being removed in this batch, see flutter.dev/go/deprecations-removed-after-3-3
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.