toPreviousPage method
void
toPreviousPage()
跳转到上一页
Implementation
void toPreviousPage() {
if (_currentPage > 0) {
goToPage(_currentPage - 1);
} else {
_currentPage = total - 1;
goToPage(total - 1);
}
notifyListeners();
}