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