[go: nahoru, domu]

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

ScaffoldMessenger Migration Guide #4527

Merged
merged 8 commits into from
Oct 13, 2020
Merged

Conversation

Piinks
Copy link
Contributor
@Piinks Piinks commented Aug 25, 2020

Migration guide for change: flutter/flutter#64101
Change with framework migrations: flutter/flutter#64170
Issue: flutter/flutter#62921

@googlebot googlebot added the cla: yes Contributor has signed the Contributor License Agreement label Aug 25, 2020
@sfshaza2
Copy link
Contributor
sfshaza2 commented Aug 26, 2020

Sorry, @Piinks, but I just landed a largish PR that updates the breaking change files. Please fix the conflicts at your convenience. :) (As this change hasn't landed, I see we are in no rush.)

@Piinks Piinks mentioned this pull request Aug 26, 2020
12 tasks
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.

Once we get the timeline info, it looks good!

),
));
},
child: const Text('SHOW SNACK'),
Copy link
Contributor

Choose a reason for hiding this comment

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

Any particular reason to use all caps here and above? I'm guessing your intent is to make it obvious that the developer can change these, but it just feels shouty... =)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh I was just copying a sample from the API docs. 😜

Copy link
Contributor

Choose a reason for hiding this comment

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

Fair 😋

@Piinks
Copy link
Contributor Author
Piinks commented Sep 16, 2020

Update: @sfshaza2 this is still WIP, the change was reverted so we don't have a build tag yet. :)

@Piinks Piinks changed the title WIP - ScaffoldMessenger Migration Guide ScaffoldMessenger Migration Guide Oct 12, 2020
@Piinks Piinks requested a review from sfshaza2 October 12, 2020 18:03
@Piinks
Copy link
Contributor Author
Piinks commented Oct 12, 2020

@Sfshaza we finally have a build tag for this one, ready to go with your approval! 🎉

@Hixie
Copy link
Contributor
Hixie commented Oct 12, 2020

Please include the error message that you're likely to see if you haven't migrated, so that people can find this by Googling the error message.

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.

A couple minor nits but, overall, looks great!

);
```

When presenting a `SnackBar` during a transition, the `SnackBar` will `Hero`, animating smoothly to
Copy link
Contributor

Choose a reason for hiding this comment

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

Never heard "Hero" as a verb. Is this a common usage?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have heard it, but it may mot be common. Updated.

src/docs/release/breaking-changes/scaffold-messenger.md Outdated Show resolved Hide resolved
src/docs/release/breaking-changes/scaffold-messenger.md Outdated Show resolved Hide resolved
@Piinks
Copy link
Contributor Author
Piinks commented Oct 13, 2020

I've added the error message and applied your suggestion @sfshaza2. Thanks!

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

@sfshaza2 sfshaza2 merged commit 13c103b into flutter:master Oct 13, 2020
filiph pushed a commit to filiph/website that referenced this pull request Feb 22, 2021
* migration guide

* Apply suggestions from code review

* Updates

* Update src/docs/release/breaking-changes/scaffold-messenger.md

* ++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Contributor has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants