duration property
How long a morph should take, instead of how stiff it should be.
Sets the spring's speed while preset (or an explicit
stiffness/damping pair) still decides its character — bouncy stays
bouncy, just stretched to fit. Duration.zero disables the animation, so
icon changes land instantly. Very short durations clamp to the fastest
spring that damping ratio can express; see springForDuration.
Implementation
final Duration? duration;