SpringDescription constructor

const SpringDescription({double mass, double stiffness, double damping })

Creates a spring given the mass, stiffness, and the damping coefficient.

See mass, stiffness, and damping for the units of the arguments.

Implementation

const SpringDescription({
  this.mass,
  this.stiffness,
  this.damping
});