toJetScrollableTabs method

JetTab toJetScrollableTabs({
  1. required List<String> tabs,
  2. TabAlignment? tabAlignment = TabAlignment.center,
  3. Color? indicatorColor,
  4. Color? labelColor,
  5. Color? unselectedLabelColor,
  6. Widget builder(
    1. BuildContext context,
    2. Widget child
    )?,
})

Creates a JetTab.router with scrollable tabs.

Implementation

JetTab toJetScrollableTabs({
  required List<String> tabs,
  TabAlignment? tabAlignment = TabAlignment.center,
  Color? indicatorColor,
  Color? labelColor,
  Color? unselectedLabelColor,
  Widget Function(BuildContext context, Widget child)? builder,
}) {
  return JetTab.router(
    routes: this,
    tabs: tabs,
    isScrollable: true,
    tabAlignment: tabAlignment,
    indicatorColor: indicatorColor,
    labelColor: labelColor,
    unselectedLabelColor: unselectedLabelColor,
    builder: builder,
  );
}