LongPressDownDetails constructor

const LongPressDownDetails(
  1. {Offset globalPosition = Offset.zero,
  2. Offset? localPosition,
  3. PointerDeviceKind? kind}
)

Creates the details for a GestureLongPressDownCallback.

If the localPosition argument is not specified, it will default to the global position.

Implementation

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