Qun Cheng
264223d987
SnackBar with action no longer auto-dismiss ( #173084 )
...
Fixes https://github.com/flutter/flutter/issues/173000
This PR updated the default behavior for Snackbar with action:
* SnackBars no longer auto-dismiss if SnackBar.action is not null.
* To override the default behavior, this PR added a property `persist`
for `SnackBar`.
## Pre-launch Checklist
- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
2025-08-27 01:33:30 +00:00
..
2025-08-05 06:52:55 +00:00
2025-08-22 17:23:53 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-04 22:32:22 +00:00
2025-07-24 00:02:06 +00:00
2025-07-07 17:58:32 +00:00
2025-05-07 16:52:38 +00:00
2025-08-14 19:53:20 +00:00
2025-08-20 20:58:35 +00:00
2025-08-20 18:05:17 +00:00
2025-08-20 19:40:40 +00:00
2025-07-07 17:58:32 +00:00
2025-07-24 21:01:06 +00:00
2025-07-07 17:58:32 +00:00
2025-08-15 22:40:14 +00:00
2025-07-07 17:58:32 +00:00
2025-07-24 21:01:07 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-22 17:23:53 +00:00
2025-08-20 19:19:25 +00:00
2025-07-24 20:41:03 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-20 18:42:39 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 22:38:17 +00:00
2025-08-22 17:23:53 +00:00
2025-07-10 23:58:20 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-07 06:50:40 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-20 20:54:34 +00:00
2025-08-22 17:23:53 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-15 22:40:14 +00:00
2025-07-07 17:58:32 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-15 22:40:14 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-22 17:23:53 +00:00
2025-08-22 17:23:53 +00:00
2025-08-08 18:47:17 +00:00
2025-08-22 17:23:53 +00:00
2025-07-07 17:58:32 +00:00
2025-08-22 17:23:53 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-22 17:23:53 +00:00
2025-07-07 17:58:32 +00:00
2025-08-20 07:20:22 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-22 17:23:53 +00:00
2025-08-26 03:07:13 +00:00
2025-08-15 22:40:14 +00:00
2025-08-15 22:40:14 +00:00
2025-08-19 22:31:18 +00:00
2025-07-07 17:58:32 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-07-07 17:58:32 +00:00
2025-08-15 22:40:14 +00:00
2025-08-15 22:40:14 +00:00
2025-08-26 03:07:13 +00:00
2025-07-07 17:58:32 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-08-15 22:40:14 +00:00
2025-07-17 18:41:59 +00:00
2025-07-07 17:58:32 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-07 20:47:41 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-08-08 18:47:17 +00:00
2025-07-07 17:58:32 +00:00
2025-08-20 06:10:07 +00:00
2025-08-26 03:07:13 +00:00
2025-07-07 17:58:32 +00:00
2025-08-05 06:58:19 +00:00
2025-07-07 17:58:32 +00:00
2025-08-27 01:33:30 +00:00
2025-07-07 17:58:32 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-07-24 00:02:06 +00:00
2025-07-07 17:58:32 +00:00
2025-08-26 03:07:13 +00:00
2025-07-07 17:58:32 +00:00
2025-08-26 03:07:13 +00:00
2025-08-26 03:07:13 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-15 22:40:14 +00:00
2025-07-17 18:40:50 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-20 06:12:09 +00:00
2025-08-20 06:12:09 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-08-08 20:56:40 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00