scrollToMinimum method

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

Implementation

Future<void> scrollToMinimum({

  Duration duration = Durations.short4,
  Curve curve = Curves.easeOut,
}) async {
  await animateTo(
    position.maxScrollExtent,
    duration: duration,
    curve: curve,
  );
}