Skip to content

Conversation

@rydmike
Copy link
Contributor

@rydmike rydmike commented Jan 31, 2023

The Overlay.of breaking change is missing in 3.7 breaking changes doc page. It was done in a separate PR flutter/flutter#110811 earlier than the bulk of the other changes in flutter/flutter#114120

Description of what this PR is changing or adding, and why:

Adds missing breaking change in 3.7

Issues fixed by this PR (if any):

Presubmit checklist

The `Overlay.of` breaking change is missing in 3.7 breaking changes doc page. It was done in a separate PR flutter/flutter#110811 earlier than the bulk of the other changes in flutter/flutter#114120
Copy link
Member

@parlough parlough left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks for adding this!

@rydmike
Copy link
Contributor Author

rydmike commented Jan 31, 2023

Thanks @parlough, it broke my code so it was hard to not miss it! 😄
Simple code fix of course, so no worries there.

However, generally I am a bit worried that this un-staged switch from nullable .of to none-nullable and addition of .maybeOf in one step might cause more problems with package dependencies than is being considered. They did so in the previous Flutter 2.0.0 case. Had a discussion about it here flutter/flutter#119499.

Not much to do about it anymore, ship sailed when stable was released without the staged approach briefly mentioned here: flutter/flutter#114120 (review).

Since the impacted APIs are less common than the ones in the 2.0.0 case I'm hopeful they will not have as a big fallout as they did in that case.

Copy link
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

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

lgtm!

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.

The Overlay.of is missing from 3.7 list of breaking changes

3 participants