ForcePressDetails constructor
Creates details for a GestureForcePressStartCallback, GestureForcePressPeakCallback or GestureForcePressEndCallback.
Implementation
ForcePressDetails({
required this.globalPosition,
Offset? localPosition,
required this.pressure,
}) : localPosition = localPosition ?? globalPosition;