scrollTo method
Implementation
void scrollTo({ num? x, num? y, bool? withAnimation }) {
if (x != null) {
_scroll(x, Axis.horizontal, withAnimation: withAnimation);
}
if (y != null) {
_scroll(y, Axis.vertical, withAnimation: withAnimation);
}
}