LongPressStartDetails constructor

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

Creates the details for a GestureLongPressStartCallback.

Implementation

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