copyWith method

HomePageState copyWith({
  1. HomeTab? currentTab,
})

Implementation

HomePageState copyWith({
  HomeTab? currentTab,
}) {
  return HomePageState(
    pageController: pageController,
    currentTab: currentTab ?? this.currentTab,
  );
}