withIndex method

TabState withIndex(
  1. int index
)

Implementation

TabState withIndex(int index) {
  return TabState(
      tabLabel: tabLabel,
      tabIcon: tabIcon,
      route: route,
      tabIndex: index,
      navigatorKey: navigatorKey);
}