Skip to content

Gesture detector scale and pan should work together #49025

@Faiyyaz

Description

@Faiyyaz

Use case

Currently in GestureDetector we are unable to use pan and scale together since pan is super of scale, but in reality pan happens when there is one finger on a component and scaling happens when there are multiple fingers. So i don't know why such issue should happens.

Our use case is that we have containers in stack which we want to pan & zoom & rotate using gestures.

Proposal

The gesture detector should be able to call pan related functions on one finger movement and should call scale related function when there is more than on finger movement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityf: gesturesflutter/packages/flutter/gestures repository.frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions