ModulaTabBar constructor

const ModulaTabBar({
  1. required List<ModulaTab> tabs,
  2. Key? key,
  3. int initialIndex = 0,
  4. ValueChanged<int>? onTabChanged,
  5. Color? selectedColor,
  6. Color? unselectedColor,
  7. Color? indicatorColor,
  8. double indicatorHeight = 2,
  9. ModulaTabBarStyle style = ModulaTabBarStyle.underline,
  10. EdgeInsetsGeometry? padding,
  11. 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,
});