TabState constructor

TabState({
  1. required String? tabLabel,
  2. required IconData tabIcon,
  3. required AppRoute<dynamic, RouteParams> route,
  4. bool isDesktop = true,
  5. required int tabIndex,
  6. required GlobalKey<NavigatorState> navigatorKey,
})

Implementation

TabState({
  required this.tabLabel,
  required this.tabIcon,
  required this.route,
  this.isDesktop = true,
  required int this.tabIndex,
  required this.navigatorKey,
}) : scroller = ScrollController(debugLabel: "Tab ${route.route}");