Repository navigation
Migration guide for SnackBar default behavior with action - #12329
Conversation
|
Visit the preview URL for this PR (updated for commit da2b39a): https://flutter-docs-prod--pr12329-snackbar-with-action-ka0kloqm.web.app |
sfshaza2
left a comment
There was a problem hiding this comment.
Some minor text cleanup. lgtm
sfshaza2
left a comment
There was a problem hiding this comment.
One potential tweak that I leave to you to judge. Otherwise, lgtm. Given that, I won't land this and leave it to you.
| and remains on screen until manually dismissed by the user. When false, the | ||
| `SnackBar` auto-dismisses after its standard duration, regardless of the | ||
| presence of an action. When null, the `SnackBar` follows the default | ||
| behavior, which won't auto-dismiss if an action is present. |
There was a problem hiding this comment.
It rather saddens me that we add something to help with accessibility and then provide a way to undo it...
There was a problem hiding this comment.
Yes, the original (wrong) behavior is corrected based on the current M3 specs but also breaking some existing apps. Developers may still want the original way and have more options to customize the behaviors.
…vior-update.md Co-authored-by: Shams Zakhour <[email protected]>
This PR is to add a breaking change page for flutter/flutter#173084
Presubmit checklist
of 80 characters or fewer.