scrollToStart method

void scrollToStart({
  1. bool? animate,
})

scrollTop will move the scrollbar to the top (first item).

Implementation

void scrollToStart({bool? animate}) {
  _scrollToPos(0, animate: animate);
}