Simulation createScrollSimulation(T position, U velocity)

Returns a simulation that propels the scrollOffset.

This function is called when a drag gesture ends.

Returns null if the behavior is to do nothing.

Source

Simulation createScrollSimulation(T position, U velocity) => null;