SubZeroTabs constructor

const SubZeroTabs({
  1. Key? key,
  2. required List<SubZeroTabItem> tabs,
  3. int selectedIndex = 0,
  4. ValueChanged<int>? onTabChanged,
  5. SubZeroTabVariant variant = SubZeroTabVariant.primary,
  6. SubZeroTabSize size = SubZeroTabSize.medium,
  7. bool isExpanded = false,
  8. bool isScrollable = false,
  9. List<Widget>? tabContents,
  10. Color? indicatorColor,
  11. Color? selectedTextColor,
  12. Color? unselectedTextColor,
})

Implementation

const SubZeroTabs({
  super.key,
  required this.tabs,
  this.selectedIndex = 0,
  this.onTabChanged,
  this.variant = SubZeroTabVariant.primary,
  this.size = SubZeroTabSize.medium,
  this.isExpanded = false,
  this.isScrollable = false,
  this.tabContents,
  this.indicatorColor,
  this.selectedTextColor,
  this.unselectedTextColor,
});