ScrollSpringSimulation(SpringDescription desc, double start, double end, double velocity)

Creates a spring simulation from the provided spring description, start distance, end distance, and initial velocity.

See the new SpringSimulation constructor on the superclass for a discussion of the arguments' units.

Source

ScrollSpringSimulation(
  SpringDescription desc,
  double start,
  double end,
  double velocity
) : super(desc, start, end, velocity);