gotoBottom method
Goes to the bottom of the content.
Implementation
ViewportModel gotoBottom() {
final newModel = setYOffset(_maxYOffset);
return newModel.copyWith(
currentHighlightIndex: newModel._findNearestMatch(),
);
}
Goes to the bottom of the content.
ViewportModel gotoBottom() {
final newModel = setYOffset(_maxYOffset);
return newModel.copyWith(
currentHighlightIndex: newModel._findNearestMatch(),
);
}