init method

Initializes the state of the notifier. This method is called only once and as soon as the notifier is accessed the first time.

Implementation

@override
HomePageState init() {
  return HomePageState(
    pageController: PageController(initialPage: HomeTab.tracing.index),
    currentTab: HomeTab.tracing,
  );
}