DragStartDetails constructor

DragStartDetails({
  1. Duration? sourceTimeStamp,
  2. Offset globalPosition = Offset.zero,
  3. Offset? localPosition,
  4. PointerDeviceKind? kind,
})

Creates details for a GestureDragStartCallback.

Implementation

DragStartDetails({
  this.sourceTimeStamp,
  this.globalPosition = Offset.zero,
  Offset? localPosition,
  this.kind,
}) : localPosition = localPosition ?? globalPosition;