Akhil George
e0e7a7d72d
Fix(Material): DateRangePicker ignores DatePickerTheme.dayShape ( #181658 )
...
<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->
This change fixes a problem where `showDateRangePicker` ignored the
`dayShape` property in `DatePickerThemeData`, leading to days always
rendering as circles regardless of the theme. This was caused by the
internal `_DayItem` widget using a hardcoded `BoxDecoration` regardless
of the theme configuration.
Fixes #181500
| Before | After |
| :---: | :---: |
| <img
src="https://github.com/user-attachments/assets/56a7c33e-ce91-4c30-8e62-ac0bceb1e3d3 "
width="350"> | <img
src="https://github.com/user-attachments/assets/431c8ad2-0825-400a-8dd3-b264ec7430ce "
width="350"> |
## 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.
- [ ] 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].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
2026-02-18 23:00:57 +00:00
..
2026-02-17 19:35:11 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-09 20:46:18 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-29 16:14:09 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-04 05:54:29 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-23 06:59:13 +00:00
2025-11-26 01:10:39 +00:00
2025-12-10 22:31:02 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-28 08:27:34 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-20 21:19:17 +00:00
2025-11-26 01:10:39 +00:00
2026-01-29 20:35:57 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-09 19:40:31 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-28 08:27:34 +00:00
2026-02-18 23:00:57 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-17 20:20:21 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-04 01:28:38 +00:00
2026-01-23 02:12:09 +00:00
2025-11-26 01:10:39 +00:00
2025-12-10 22:31:02 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-18 22:43:20 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-17 14:28:25 +00:00
2025-11-03 19:44:08 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-18 18:37:16 +00:00
2025-12-16 20:25:54 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-29 00:56:42 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-17 01:55:21 +00:00
2025-11-26 01:10:39 +00:00
2026-01-17 00:53:56 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-05 21:54:29 +00:00
2026-02-03 08:36:18 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-02 22:43:24 +00:00
2025-11-26 01:10:39 +00:00
2026-01-29 20:35:57 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-17 20:41:38 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-03 11:48:33 +00:00
2026-02-18 12:18:20 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-12-02 11:36:25 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-17 00:56:49 +00:00
2025-11-26 01:10:39 +00:00
2026-01-02 19:20:06 +00:00
2025-11-26 01:10:39 +00:00
2026-01-28 06:53:58 +00:00
2025-12-18 09:03:20 +00:00
2025-11-26 01:10:39 +00:00
2026-02-03 00:49:09 +00:00
2026-01-02 19:20:06 +00:00
2026-02-10 03:51:13 +00:00
2025-12-23 08:47:20 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-11 19:49:55 +00:00
2026-01-29 20:35:57 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-18 15:34:23 +00:00
2026-01-07 11:43:34 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-29 17:21:52 +00:00
2025-11-26 01:10:39 +00:00
2026-02-18 18:37:16 +00:00
2025-11-26 01:10:39 +00:00
2026-02-13 23:55:28 +00:00
2026-01-29 17:21:52 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-02-10 03:51:13 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-22 04:10:46 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00
2026-01-07 21:58:42 +00:00
2025-11-26 01:10:39 +00:00
2026-01-07 21:58:42 +00:00
2025-12-15 23:04:22 +00:00
2025-11-26 01:10:39 +00:00
2025-11-26 01:10:39 +00:00