Simulation createSnapScrollSimulation(T startOffset, T endOffset, U startVelocity, U endVelocity)

Returns an animation that ends at the snap offset.

This function is called when a drag gesture ends and a SnapOffsetCallback is specified for the scrollable.

Returns null if the behavior is to do nothing.

Source

Simulation createSnapScrollSimulation(T startOffset, T endOffset, U startVelocity, U endVelocity) => null;