scrollToMaximum method

Future<void> scrollToMaximum({
  1. Duration duration = Durations.short4,
  2. Curve curve = Curves.easeOut,
})

Implementation

Future<void> scrollToMaximum({
  Duration duration = Durations.short4,
  Curve curve = Curves.easeOut,
}) async {
  await animateTo(
    position.minScrollExtent,
    duration: duration,
    curve: curve,
  );
}