flutter/packages
xubaolin c83237f37c
[New feature]Introduce iOS multi-touch drag behavior (#141355)
Fixes #38926

This patch implements the iOS behavior pointed out by @dkwingsmt at #38926 , which is also consistent with the performance of my settings application on the iPhone.

### iOS behavior (horizontal or vertical drag)

## Algorithm
When dragging: delta(combined) = max(i of n that are positive) delta(i) - max(i of n that are negative) delta(i)
It means that, if two fingers are moving +50 and +10 respectively, it will move +50; if they're moving at +50 and -10 respectively, it will move +40.

~~TODO~~
~~Write some test cases~~
2024-03-13 07:10:48 +00:00
..
flutter [New feature]Introduce iOS multi-touch drag behavior (#141355) 2024-03-13 07:10:48 +00:00
flutter_driver Manually roll pub packages (#145005) 2024-03-12 19:53:57 +00:00
flutter_goldens Rename isAvailableForEnvironment to isForEnvironment (#143176) (#144858) 2024-03-10 06:20:38 +00:00
flutter_localizations Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
flutter_test Reland "Fail tests on exceptions raised after test completed (#144706)" (#144980) 2024-03-12 18:17:10 +00:00
flutter_tools Flutter Web Bootstrapping Improvements (#144434) 2024-03-12 22:41:26 +00:00
flutter_web_plugins Upgrade vm_service. (#144845) 2024-03-08 17:09:07 -08:00
fuchsia_remote_debug_protocol Manually roll pub packages (#145005) 2024-03-12 19:53:57 +00:00
integration_test Manually roll pub packages (#145005) 2024-03-12 19:53:57 +00:00
analysis_options.yaml Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00