LongPressMoveUpdateDetails constructor

const LongPressMoveUpdateDetails({
  1. Offset globalPosition = Offset.zero,
  2. Offset? localPosition,
  3. Offset offsetFromOrigin = Offset.zero,
  4. Offset? localOffsetFromOrigin,
})

Creates the details for a GestureLongPressMoveUpdateCallback.

Implementation

const LongPressMoveUpdateDetails({
  this.globalPosition = Offset.zero,
  Offset? localPosition,
  this.offsetFromOrigin = Offset.zero,
  Offset? localOffsetFromOrigin,
}) : localPosition = localPosition ?? globalPosition,
     localOffsetFromOrigin = localOffsetFromOrigin ?? offsetFromOrigin;