animToBottom method

Future<void> animToBottom({
  1. dynamic milliseconds = 300,
})

Scroll to bottom with given animation duration

Implementation

Future<void> animToBottom({milliseconds = 300}) async {
  animateTo(
    position.maxScrollExtent,
    duration: Duration(milliseconds: milliseconds),
    curve: Curves.linear,
  );
}