resetCurrentIndex method

void resetCurrentIndex()

Function to reset the Page index at 0

Implementation

void resetCurrentIndex() {
  _currentPageIndex = 0;
  notifyListeners();
}