AuiTabBar constructor

const AuiTabBar({
  1. Key? key,
  2. required List<AuiTab> tabs,
  3. required int currentIndex,
  4. required ValueChanged<int> onTap,
  5. TabIndicatorStyle indicatorStyle = TabIndicatorStyle.underline,
  6. Color? activeColor,
  7. Color? inactiveColor,
  8. Color? backgroundColor,
  9. bool isScrollable = false,
  10. double tabHeight = 44.0,
})

Creates an AuiTabBar.

Implementation

const AuiTabBar({
  super.key,
  required this.tabs,
  required this.currentIndex,
  required this.onTap,
  this.indicatorStyle = TabIndicatorStyle.underline,
  this.activeColor,
  this.inactiveColor,
  this.backgroundColor,
  this.isScrollable = false,
  this.tabHeight = 44.0,
});