ScrollSpringSimulation constructor
- SpringDescription spring,
- double start,
- double end,
- double velocity, {
- Tolerance tolerance = Tolerance.defaultTolerance,
Creates a spring simulation from the provided spring description, start distance, end distance, and initial velocity.
See the SpringSimulation.new constructor on the superclass for a discussion of the arguments' units.
Implementation
ScrollSpringSimulation(
super.spring,
super.start,
super.end,
super.velocity, {
super.tolerance,
});