DDSTabs constructor
DDSTabs({
- Key? key,
- required List<
DDSTab> tabs, - required TabController controller,
- required TabsVariant variant,
- bool isScrollable = false,
- double? height,
- Color? selectedColor,
- Color? unselectedBackgroundColor,
- Color? ghostBackgroundColor,
- EdgeInsetsGeometry? padding,
- Color? indicatorColor,
- double indicatorWeight = 2.0,
- EdgeInsetsGeometry indicatorPadding = EdgeInsets.zero,
- Decoration? indicator,
- TabBarIndicatorSize? indicatorSize,
- Color? dividerColor,
- double? dividerHeight,
- Color? labelColor,
- TextStyle? labelStyle,
- EdgeInsetsGeometry? labelPadding,
- Color? unselectedLabelColor,
- TextStyle? unselectedLabelStyle,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- WidgetStateProperty<
Color?> ? overlayColor, - MouseCursor? mouseCursor,
- ValueChanged<
int> ? onTap, - BorderRadius? splashBorderRadius,
- TabAlignment? tabAlignment,
Implementation
DDSTabs({
Key? key,
required this.tabs,
required this.controller,
required this.variant,
this.isScrollable = false,
this.height,
this.selectedColor,
this.unselectedBackgroundColor,
this.ghostBackgroundColor,
this.padding,
this.indicatorColor,
this.indicatorWeight = 2.0,
this.indicatorPadding = EdgeInsets.zero,
this.indicator,
this.indicatorSize,
this.dividerColor,
this.dividerHeight,
this.labelColor,
this.labelStyle,
this.labelPadding,
this.unselectedLabelColor,
this.unselectedLabelStyle,
this.dragStartBehavior = DragStartBehavior.start,
this.overlayColor,
this.mouseCursor,
this.onTap,
this.splashBorderRadius,
this.tabAlignment,
}) : super(key: key);