JetTabRouterExtension extension

Helper extension for creating JetTab.router with common configurations.

on

Methods

toJetBottomTabs({required List<String> tabs, Widget builder(BuildContext context, Widget child, BottomNavigationBar bottomNav)?, List<BottomNavigationBarItem>? bottomNavItems, Color? indicatorColor, Color? selectedItemColor, Color? unselectedItemColor}) JetTab

Available on List<PageRouteInfo<Object?>>, provided by the JetTabRouterExtension extension

Creates a JetTab.router with bottom navigation style.
toJetScrollableTabs({required List<String> tabs, TabAlignment? tabAlignment = TabAlignment.center, Color? indicatorColor, Color? labelColor, Color? unselectedLabelColor, Widget builder(BuildContext context, Widget child)?}) JetTab

Available on List<PageRouteInfo<Object?>>, provided by the JetTabRouterExtension extension

Creates a JetTab.router with scrollable tabs.