Skip to content

[InteractiveViewer] Support trackpad gestures pinch zoom and two finger scroll  #63084

@SahajRana

Description

@SahajRana

Hi Flutter Team,
I just used the Interactive Viewer for windows but it still is far from convenient when used for the actual use-case.

Problem:
The mouse-tap-and-drag for Pan Gesture. This behavior is mostly used to drag-select multiple items in most use-cases.
We can disable the pan in it. But how can we enable it with scroll to move up and down?
As this behavior is also reserved for the zoom scale in the Interactive Viewer.

If we can have something like this

Pan: trackpad (two finger Horizontal-Vertical Scroll)/mouse (wheel scroll)
Zoom: trackpad(pinch zoom)/mouse(ctrl+wheel-scroll)

This is for Windows Flutter App.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: desktopRunning on desktopc: new featureNothing broken; request for a new capabilityf: gesturesflutter/packages/flutter/gestures repository.f: material designflutter/packages/flutter/material 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