scrollToStart method
scrollTop will move the scrollbar to the top (first item).
Implementation
void scrollToStart({bool? animate}) {
_scrollToPos(0, animate: animate);
}
scrollTop will move the scrollbar to the top (first item).
void scrollToStart({bool? animate}) {
_scrollToPos(0, animate: animate);
}