Zuckjet
28b09850d0
fix: adjust scrollable size assertion with tolerance ( #171426 )
...
<!--
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
-->
Fixes: https://github.com/flutter/flutter/issues/136331
The original issue highlights two separate bugs:
1. When Flutter calculates Widgets, there might be floating-point
precision issues. For example, the calculation result may show
_dragTargetRelatedToScrollOrigin.size.height as 64.00000000000003.
Therefore, I introduced a very small tolerance to address this.
2. When there's a size scaling effect on the ReorderableListView, such
as an influence from Transform.scale, the method for calculating the
drag target becomes incorrect.
## 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].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.
2025-07-31 16:06:07 +00:00
..
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-30 18:40:09 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-04-09 03:31:31 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-09 21:22:48 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-01-25 05:50:26 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-07-10 21:10:37 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-14 22:49:04 +00:00
2024-12-19 20:06:21 +00:00
2025-06-09 15:01:53 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-02 21:46:09 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-06-25 19:12:23 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-30 18:40:09 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-30 18:31:41 +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-07-14 22:49:04 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-01-14 05:13:41 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-01-14 05:13:41 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-14 22:49:04 +00:00
2025-07-14 22:49:04 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-01-14 05:13:41 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-03-05 17:41:20 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-31 16:06:07 +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-05-29 17:30:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-29 20:51:22 +00:00
2025-05-27 19:39:24 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-02-06 03:08:23 +00:00
2025-02-06 03:08:23 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-02-06 03:08:23 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-02-06 03:08:23 +00:00
2025-06-12 21:26:00 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-04-29 20:58:29 +00:00
2025-04-29 20:58:29 +00:00
2025-04-29 20:58:29 +00:00
2025-04-29 20:58:29 +00:00
2025-04-29 20:58:29 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +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-01-22 21:52:11 +00:00
2025-06-17 18:37:11 +00:00
2025-07-10 03:17: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-07-02 21:46:09 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +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-06-17 18:37:11 +00:00
2025-07-07 17:58:32 +00:00
2025-05-23 00:02:01 +00:00
2025-07-07 17:58:32 +00:00
2025-07-08 16:53:24 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-17 18:40:50 +00:00
2025-07-07 17:58:32 +00:00
2025-07-08 17:18:58 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-23 23:56:48 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00
2025-07-07 17:58:32 +00:00
2025-02-05 20:51:29 +00:00
2024-12-19 20:06:21 +00:00
2024-12-19 20:06:21 +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
2024-12-19 20:06:21 +00:00
2025-07-07 17:58:32 +00:00