ModulaTabBar constructor
const
ModulaTabBar({
- required List<
ModulaTab> tabs, - Key? key,
- int initialIndex = 0,
- ValueChanged<
int> ? onTabChanged, - Color? selectedColor,
- Color? unselectedColor,
- Color? indicatorColor,
- double indicatorHeight = 2,
- ModulaTabBarStyle style = ModulaTabBarStyle.underline,
- EdgeInsetsGeometry? padding,
- bool isScrollable = false,
Implementation
const ModulaTabBar({
required this.tabs,
super.key,
this.initialIndex = 0,
this.onTabChanged,
this.selectedColor,
this.unselectedColor,
this.indicatorColor,
this.indicatorHeight = 2,
this.style = ModulaTabBarStyle.underline,
this.padding,
this.isScrollable = false,
});