DragStartDetails class Null safety

Details object for callbacks that use GestureDragStartCallback.

See also:

Constructors

DragStartDetails({Duration? sourceTimeStamp, Offset globalPosition = Offset.zero, Offset? localPosition, PointerDeviceKind? kind})
Creates details for a GestureDragStartCallback.

Properties

globalPosition → Offset
The global position at which the pointer contacted the screen.
final
hashCode → int
The hash code for this object.
read-onlyinherited
kind → PointerDeviceKind?
The kind of the device that initiated the event.
final
localPosition → Offset
The local position in the coordinate system of the event receiver at which the pointer contacted the screen.
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
sourceTimeStamp → Duration?
Recorded timestamp of the source pointer event that triggered the drag event.
final

Methods

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

Operators

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