DragDownDetails constructor

DragDownDetails({
  1. Offset globalPosition = Offset.zero,
  2. Offset? localPosition,
})

Creates details for a GestureDragDownCallback.

Implementation

DragDownDetails({
  this.globalPosition = Offset.zero,
  Offset? localPosition,
}) : localPosition = localPosition ?? globalPosition;