previous method
void
previous()
Moves to the previous page if the current page is greater than 1.
Implementation
void previous() {
if (0 < _page) {
_page = _page - 1;
notifyListeners();
}
}
Moves to the previous page if the current page is greater than 1.
void previous() {
if (0 < _page) {
_page = _page - 1;
notifyListeners();
}
}