simulateReleaseForTest method
Ends a drag at velocity pixels per second.
Implementation
@visibleForTesting
void simulateReleaseForTest({required double velocity}) {
_onPanStart(DragStartDetails(globalPosition: Offset.zero));
_onPanEnd(
DragEndDetails(velocity: Velocity(pixelsPerSecond: Offset(0, velocity))),
);
}