close method
- double? velocity,
Retargets toward 0 on the close motion; from rest the profile's close velocity hint is injected.
Implementation
void close({double? velocity}) {
final bool live = isAnimating || _scrubbing;
final double v =
velocity ?? (live ? _velocity : effectiveMotion.closeVelocityHint);
_scrubbing = false;
_retarget(0, velocity: v);
}