LongPressDownDetails constructor
- Offset globalPosition = Offset.zero,
- Offset? localPosition,
- 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;