TabState.floating constructor

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

Implementation

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