animate To
Animate to a targetValue. If the targetValue is not in the set of anchors, the UnstyledAnchoredDraggableState.currentValue will be updated to the targetValue without updating the offset.
Parameters
target Value
The target value of the animation
Throws
Cancellation Exception
if the interaction interrupted by another interaction like a gesture interaction or another programmatic interaction like a animateTo or snapTo call.