const SpringForce(SpringDescription spring, { double left: 0.0, double right: 1.0 })

Creates a spring force.

The spring, left, and right arguments must not be null. The left argument defaults to 0.0 and the right argument defaults to 1.0.

Source

const SpringForce(this.spring, { this.left: 0.0, this.right: 1.0 });