animateTo method

  1. @override
void animateTo(
  1. double to, {
  2. required Duration duration,
  3. Curve curve = Curves.easeInOut,
})
override

Animates scrollOffset from its current offset to to, over the given duration of time, following the given animation curve.

Implementation

@override
void animateTo(double to, {required Duration duration, Curve curve = Curves.easeInOut}) => throw UnimplementedError();