animateToBottom method

dynamic animateToBottom({
  1. int milliseconds = 300,
})

Implementation

animateToBottom({int milliseconds = 300}) {
  final maxScrollExtent = position.maxScrollExtent;
  animateTo(
    maxScrollExtent,
    curve: Curves.linear,
    duration: Duration(milliseconds: milliseconds),
  );
}