onTwoFingerPan method - TwoFingerPanListener class - gestures library - Dart API
onTwoFingerPan
onTwoFingerPan abstract method
- GestureState state,
- Point2D origin,
- Point2D translation,
- double velocity,
Called when the two finger pan gesture occurs.
-
stateDetermines in which state the gesture is. -
originPosition halfway between two touch points relative to the MapView in pixels. -
translationTranslation offset since the last position in pixels. -
velocityVelocity of panning in pixels per millisecond.
Implementation
void onTwoFingerPan(GestureState state, Point2D origin, Point2D translation, double velocity);