DragUpdateDetails class

Details object for callbacks that use GestureDragUpdateCallback.

See also:

Constructors

DragUpdateDetails({Duration? sourceTimeStamp, Offset delta = Offset.zero, double? primaryDelta, required Offset globalPosition, Offset? localPosition})
Creates details for a GestureDragUpdateCallback.

Properties

delta Offset
The amount the pointer has moved in the coordinate space of the event receiver since the previous update.
final
globalPosition Offset
The pointer's global position when it triggered this update.
final
hashCode int
The hash code for this object.
no setterinherited
localPosition Offset
The local position in the coordinate system of the event receiver at which the pointer contacted the screen.
final
primaryDelta double?
The amount the pointer has moved along the primary axis in the coordinate space of the event receiver since the previous update.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceTimeStamp Duration?
Recorded timestamp of the source pointer event that triggered the drag event.
final

Methods

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

Operators

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