LongPressEndDetails constructor

const LongPressEndDetails({
  1. Offset globalPosition = Offset.zero,
  2. Offset? localPosition,
  3. Velocity velocity = Velocity.zero,
})

Creates the details for a GestureLongPressEndCallback.

Implementation

const LongPressEndDetails({
  this.globalPosition = Offset.zero,
  Offset? localPosition,
  this.velocity = Velocity.zero,
}) : localPosition = localPosition ?? globalPosition;