LongPressMoveUpdateDetails constructor Null safety
Creates the details for a GestureLongPressMoveUpdateCallback.
The globalPosition and offsetFromOrigin arguments must not be null.
Implementation
const LongPressMoveUpdateDetails({
this.globalPosition = Offset.zero,
Offset? localPosition,
this.offsetFromOrigin = Offset.zero,
Offset? localOffsetFromOrigin,
}) : assert(globalPosition != null),
assert(offsetFromOrigin != null),
localPosition = localPosition ?? globalPosition,
localOffsetFromOrigin = localOffsetFromOrigin ?? offsetFromOrigin;