MultitouchDragStrategy enum

Configuration of multi-finger drag strategy on multi-touch devices.

When dragging with only one finger, there's no difference in behavior between the two settings.

Used by DragGestureRecognizer.multitouchDragStrategy.

Inheritance

Constructors

MultitouchDragStrategy()
const

Values

latestPointer → const MultitouchDragStrategy

Only the latest active pointer is tracked by the recognizer.

If the tracked pointer is released, the latest of the remaining active pointers will continue to be tracked.

This is the behavior typically seen on Android.

sumAllPointers → const MultitouchDragStrategy

All active pointers will be tracked together. The scrolling offset is the sum of the offsets of all active pointers.

When a Scrollable drives scrolling by this drag strategy, the scrolling speed will double or triple, depending on how many fingers are dragging at the same time.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<MultitouchDragStrategy>
A constant List of the values in this enum, in order of their declaration.