Skip to content

Fine-tune fling velocity #11772

@xster

Description

@xster

There's a slight difference in velocity reported by iOS's pan gesture recognizer's velocityInView vs our own VelocityTracker. Flutter's calculation is ~20% faster.

On Android, the velocity tracker is distinct from the gesture callbacks, but our flings are a bit slower.

Probably better to have a platform agnostic velocity and correct the difference in the friction simulations.

Metadata

Metadata

Labels

P3Issues that are less important to the Flutter projectf: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions