animateToRelative method
Same as animateTo but will move offset
from the current position.
Implementation
Future<void> animateToRelative(
double offset, {
Duration duration = const Duration(milliseconds: 750),
Curve curve = Curves.decelerate,
}) {
return super.animateTo(this.offset + offset, duration: duration, curve: curve);
}