moveToMaxBottom method
Smoothly scrolls to the bottom of the list/grid.
duration controls the animation time.
curve controls the animation curve.
Implementation
Future<void> moveToMaxBottom({
Duration? duration,
Curve? curve,
}) async {
_Frame.addBefore(() async => await _scrollController!.animateTo(
_scrollController!.position.maxScrollExtent,
duration: duration ?? const Duration(milliseconds: 300),
curve: curve ?? Curves.easeOutQuad,
));
}