reset method

void reset()

Implementation

void reset() {
  _pageController.jumpToPage(0);
  setState(() => _currentIndex = 0);
}