scrollToTop method
void
scrollToTop()
Implementation
void scrollToTop() {
if (controller.offset == 0.0) {
// double heigh = MediaQuery.of(context).size.height;
// controller.jumpTo(-heigh);
showLoadingPage();
} else {
controller.animateTo(0.0,
curve: Curves.easeOut, duration: const Duration(milliseconds: 300));
}
}