resetCurrentIndex method
void
resetCurrentIndex()
Function to reset the Page index at 0
Implementation
void resetCurrentIndex() {
_currentPageIndex = 0;
notifyListeners();
}
Function to reset the Page index at 0
void resetCurrentIndex() {
_currentPageIndex = 0;
notifyListeners();
}