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

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

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

Source

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