changePage method
Function that take a Int to swap to this page
Implementation
void changePage(int pageIndex) {
_currentPageIndex = pageIndex;
notifyListeners();
}
Function that take a Int to swap to this page
void changePage(int pageIndex) {
_currentPageIndex = pageIndex;
notifyListeners();
}