StacTabBar constructor
const
StacTabBar({
- required List<
StacWidget> tabs, - int? initialIndex,
- bool? isScrollable,
- StacEdgeInsets? padding,
- StacColor? indicatorColor,
- bool? automaticIndicatorColorAdjustment,
- double? indicatorWeight,
- StacEdgeInsets? indicatorPadding,
- StacBoxDecoration? indicator,
- StacTabBarIndicatorSize? indicatorSize,
- StacColor? labelColor,
- StacTextStyle? labelStyle,
- StacEdgeInsets? labelPadding,
- StacColor? unselectedLabelColor,
- StacTextStyle? unselectedLabelStyle,
- StacDragStartBehavior? dragStartBehavior,
- bool? enableFeedback,
- StacScrollPhysics? physics,
- StacTabAlignment? tabAlignment,
- StacColor? dividerColor,
- 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,
});