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
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
ifleftFlags
has at least one member inrightFlags
(intersection) for exampleleftFlags
= MultiFingerGesture.pinchMove | MultiFingerGesture.rotate andrightFlags
= MultiFingerGesture.rotate returns true because both have MultiFingerGesture.rotate flag