ExtendedTabBar constructor
const
ExtendedTabBar({
- Key? key,
- required List<
Widget> tabs, - TabController? controller,
- bool isScrollable = false,
- EdgeInsetsGeometry? padding,
- Color? indicatorColor,
- bool automaticIndicatorColorAdjustment = true,
- double indicatorWeight = 2.0,
- EdgeInsetsGeometry indicatorPadding = EdgeInsets.zero,
- Decoration? indicator,
- TabBarIndicatorSize? indicatorSize,
- Color? dividerColor,
- Color? labelColor,
- TextStyle? labelStyle,
- EdgeInsetsGeometry? labelPadding,
- Color? unselectedLabelColor,
- TextStyle? unselectedLabelStyle,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- MaterialStateProperty<
Color?> ? overlayColor, - MouseCursor? mouseCursor,
- bool? enableFeedback,
- ValueChanged<
int> ? onTap, - ScrollPhysics? physics,
- InteractiveInkFeatureFactory? splashFactory,
- BorderRadius? splashBorderRadius,
- Axis scrollDirection = Axis.horizontal,
- MainAxisAlignment? mainAxisAlignment,
- bool foregroundIndicator = false,
Implementation
const ExtendedTabBar({
super.key,
required super.tabs,
super.controller,
super.isScrollable = false,
super.padding,
super.indicatorColor,
super.automaticIndicatorColorAdjustment = true,
super.indicatorWeight = 2.0,
super.indicatorPadding = EdgeInsets.zero,
super.indicator,
super.indicatorSize,
super.dividerColor,
super.labelColor,
super.labelStyle,
super.labelPadding,
super.unselectedLabelColor,
super.unselectedLabelStyle,
super.dragStartBehavior = DragStartBehavior.start,
super.overlayColor,
super.mouseCursor,
super.enableFeedback,
super.onTap,
super.physics,
super.splashFactory,
super.splashBorderRadius,
this.scrollDirection = Axis.horizontal,
this.mainAxisAlignment,
this.foregroundIndicator = false,
});