animateToTop method
Implementation
void animateToTop(
{Duration duration = const Duration(milliseconds: 400),
Curve curve = Curves.easeInOut}) =>
animateTo(0, duration: duration, curve: curve);
void animateToTop(
{Duration duration = const Duration(milliseconds: 400),
Curve curve = Curves.easeInOut}) =>
animateTo(0, duration: duration, curve: curve);