Sprung constructor

Sprung([
  1. double damping = 20
])

A Curve that uses the Flutter Physics engine to drive realistic animations.

Provides a critically damped spring by default, with an easily overrideable damping value.

See also: Sprung.custom, Sprung.underDamped, Sprung.criticallyDamped, Sprung.overDamped

Implementation

factory Sprung([double damping = 20]) => Sprung.custom(damping: damping);