Spring1D({ required double initialValue, this.stiffness = 180.0, this.damping = 12.0, }) : value = initialValue, velocity = 0.0;