jumpBottom method

void jumpBottom({
  1. int delay = 0,
})

Implementation

void jumpBottom({int delay = 0}) {
  if (delay > 0) {
    Future.delayed(Duration(milliseconds: delay), () {
      postFrame(() {
        this.jumpTo(this.position.maxScrollExtent);
      });
    });
  } else {
    postFrame(() {
      this.jumpTo(this.position.maxScrollExtent);
    });
  }
}