toNextPage method
void
toNextPage()
跳转到下一页
Implementation
void toNextPage() {
if (_currentPage < total - 1) {
goToPage(_currentPage + 1);
} else {
goToPage(0);
}
notifyListeners();
}
跳转到下一页
void toNextPage() {
if (_currentPage < total - 1) {
goToPage(_currentPage + 1);
} else {
goToPage(0);
}
notifyListeners();
}