MultiFingerGesture class

Use MultiFingerGesture to disable / enable certain gestures Use MultiFingerGesture.all to enable all gestures, use MultiFingerGesture.none to disable all gestures

If you want mix gestures for example rotate and pinchZoom gestures then you have two options A.) add you own flags: MultiFingerGesture.rotate | MultiFingerGesture.pinchZoom B.) remove unnecessary flags from all: MultiFingerGesture.all & ~MultiFingerGesture.pinchMove

Constructors

MultiFingerGesture()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

hasFlag(int leftFlags, int rightFlags) bool
Returns true if leftFlags has at least one member in rightFlags (intersection) for example leftFlags= MultiFingerGesture.pinchMove | MultiFingerGesture.rotate and rightFlags= MultiFingerGesture.rotate returns true because both have MultiFingerGesture.rotate flag

Constants

all → const int
none → const int
pinchMove → const int
pinchZoom → const int
rotate → const int