animateToWithSameOriginIndex method
Same as animateTo but will keep the current origin-index.
Implementation
Future<void> animateToWithSameOriginIndex(
double offset, {
Duration duration = const Duration(milliseconds: 750),
Curve curve = Curves.decelerate,
}) {
return super.animateTo(offset, duration: duration, curve: curve);
}