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

Add a warning to stop launching on pub for DevTools version 2.8.0 #3464

Merged
merged 6 commits into from Oct 25, 2021

Conversation

kenzieschmoll
Copy link
Member

The showPubWarning flag will only be turned on a for a special release of DevTools 2.8.0 to pub. This ensures we will not mistakenly show this warning for DevTools 2.8.0 shipped in the SDK. When DevTools is launched from pub for a user that is on Flutter >= 2.8.0 or Dart >= 2.15.0, this overlay warning will show when the user opens DevTools and connects to their app.
Screen Shot 2021-10-25 at 10 54 01 AM
Screen Shot 2021-10-25 at 10 53 38 AM

This warning will also show in the About DevTools menu.
Screen Shot 2021-10-25 at 10 54 17 AM

Fixes #3433

return Material(
color: colorScheme.overlayShadowColor,
child: Center(
child: Container(
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: can center be moved into container? Container can align to center.

Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason, this makes the Container full screen instead of the size of its content.

Copy link
Contributor

@jacob314 jacob314 left a comment

Choose a reason for hiding this comment

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

lgtm

@kenzieschmoll kenzieschmoll merged commit 513884f into flutter:master Oct 25, 2021
@kenzieschmoll kenzieschmoll deleted the pub-warning branch October 25, 2021 23:23
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.

Add warning for users that DevTools will no longer be shipped on pub.
2 participants