toBottom method
Implementation
Future<void> toBottom({
Duration duration = const Duration(milliseconds: 500),
Curve curve = Curves.easeInOut,
}) async {
if (!hasClients) return;
await animateTo(position.maxScrollExtent, duration: duration, curve: curve);
}