SubZeroTabs constructor
const
SubZeroTabs({
- Key? key,
- required List<
SubZeroTabItem> tabs, - int selectedIndex = 0,
- ValueChanged<
int> ? onTabChanged, - SubZeroTabVariant variant = SubZeroTabVariant.primary,
- SubZeroTabSize size = SubZeroTabSize.medium,
- bool isExpanded = false,
- bool isScrollable = false,
- List<
Widget> ? tabContents, - Color? indicatorColor,
- Color? selectedTextColor,
- 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,
});