flutter / flutter/flutter

Add double tap and pan/double tap and drag gesture

Open
#164,889 2 comments 0 reactions 0 assignees View on GitHub
c: new feature c: proposal f: gestures framework P3 team-framework triaged-framework
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

### Use case

The user wants to scale with a single pointer. This is a common gesture where the user performs a double tap, but on the second tap, instead of lifting the pointer they begin panning. The axis with the largest delta wrt the location of the second tap determines the scale. This is used in Google Earth (a Flutter app), Google photos and FireFox mobile, as well as many other apps.

### Proposal

Add a new gesture recognizer called double tap and pan gesture recognizer that recognizes this gesture and add it to GestureRecognizer.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.