Skip to content

Migrate SnackBar methods to ScaffoldMessenger#330

Merged
Hixie merged 2 commits into
jocosocial:masterfrom
Piinks:snacks
Oct 13, 2020
Merged

Migrate SnackBar methods to ScaffoldMessenger#330
Hixie merged 2 commits into
jocosocial:masterfrom
Piinks:snacks

Conversation

@Piinks

@Piinks Piinks commented Oct 12, 2020

Copy link
Copy Markdown
Contributor

cc/ @Hixie contact for https://github.com/flutter/tests/blob/master/registry/rainbowmonkey.test

flutter/flutter#66504 introduced the ScaffoldMessenger widget, which allows for persistent SnackBars across Scaffolds, as well as easier management of asynchronous SnackBars. The original SnackBar methods in Scaffold are going to be deprecated. Test failures were identified in this repository in flutter/flutter#67947, so this PR is intended to migrate to the new API.

Full Migration Guide:
flutter/website#4527

References:
flutter/flutter#62921
flutter/flutter#57218

@Hixie

Hixie commented Oct 12, 2020

Copy link
Copy Markdown
Contributor

LGTM, not sure why Travis isn't responding...

@Hixie

Hixie commented Oct 12, 2020

Copy link
Copy Markdown
Contributor

Try pushing the branch again, I think I reconfigured Travis.

@Hixie Hixie merged commit d71e04b into jocosocial:master Oct 13, 2020
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