TapDownDetails constructor

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

Creates details for a GestureTapDownCallback.

Implementation

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