gotoBottom method

ViewportModel gotoBottom()

Goes to the bottom of the content.

Implementation

ViewportModel gotoBottom() {
  final newModel = setYOffset(_maxYOffset);
  return newModel.copyWith(
    currentHighlightIndex: newModel._findNearestMatch(),
  );
}