MultiDragPointerState class

Per-pointer state for a MultiDragGestureRecognizer.

A MultiDragGestureRecognizer tracks each pointer separately. The state for each pointer is a subclass of MultiDragPointerState.


MultiDragPointerState(Offset initialPosition)
Creates per-pointer state for a MultiDragGestureRecognizer. [...]


initialPosition Offset
The global coordinates of the pointer when the pointer contacted the screen.
pendingDelta Offset
The offset of the pointer from the last position that was reported to the client. [...]
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


accepted(GestureMultiDragStartCallback starter) → void
Called when the gesture was accepted. [...]
checkForResolutionAfterMove() → void
Override this to call resolve() if the drag should be accepted or rejected. This is called when a pointer movement is received, but only if the gesture has not yet been resolved.
dispose() → void
Releases any resources used by the object.
@mustCallSuper, @protected
rejected() → void
Called when the gesture was rejected. [...]
@mustCallSuper, @protected
resolve(GestureDisposition disposition) → void
Resolve this pointer's entry in the GestureArenaManager with the given disposition.
@mustCallSuper, @protected
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]