scrollWithAnimate method
Implementation
Future<void> scrollWithAnimate(double offset, {Curve curve = _kScrollAnimationCurve, Duration duration = _kScrollAnimationDuration}) async {
if (hasClients) {
await animateTo(offset, curve: curve, duration: duration);
}
}