animateTo method
Animates toward target, preserving current velocity.
If fromVelocity is provided it overrides the current velocity.
Implementation
void animateTo(double target, {double? fromVelocity}) {
_target = _clamp(target);
_startSim(target: _target, fromVelocity: fromVelocity ?? velocity);
}