LongPressEndDetails constructor Null safety
Creates the details for a GestureLongPressEndCallback.
The globalPosition argument must not be null.
Implementation
const LongPressEndDetails({
this.globalPosition = Offset.zero,
Offset? localPosition,
this.velocity = Velocity.zero,
}) : assert(globalPosition != null),
localPosition = localPosition ?? globalPosition;