StacTabBar constructor

const StacTabBar({
  1. required List<StacWidget> tabs,
  2. int? initialIndex,
  3. bool? isScrollable,
  4. StacEdgeInsets? padding,
  5. StacColor? indicatorColor,
  6. bool? automaticIndicatorColorAdjustment,
  7. double? indicatorWeight,
  8. StacEdgeInsets? indicatorPadding,
  9. StacBoxDecoration? indicator,
  10. StacTabBarIndicatorSize? indicatorSize,
  11. StacColor? labelColor,
  12. StacTextStyle? labelStyle,
  13. StacEdgeInsets? labelPadding,
  14. StacColor? unselectedLabelColor,
  15. StacTextStyle? unselectedLabelStyle,
  16. StacDragStartBehavior? dragStartBehavior,
  17. bool? enableFeedback,
  18. StacScrollPhysics? physics,
  19. StacTabAlignment? tabAlignment,
  20. StacColor? dividerColor,
  21. double? dividerHeight,
})

Creates a StacTabBar.

Implementation

const StacTabBar({
  required this.tabs,
  this.initialIndex,
  this.isScrollable,
  this.padding,
  this.indicatorColor,
  this.automaticIndicatorColorAdjustment,
  this.indicatorWeight,
  this.indicatorPadding,
  this.indicator,
  this.indicatorSize,
  this.labelColor,
  this.labelStyle,
  this.labelPadding,
  this.unselectedLabelColor,
  this.unselectedLabelStyle,
  this.dragStartBehavior,
  this.enableFeedback,
  this.physics,
  this.tabAlignment,
  this.dividerColor,
  this.dividerHeight,
});