DDSTabs constructor

DDSTabs({
  1. Key? key,
  2. required List<DDSTab> tabs,
  3. required TabController controller,
  4. required TabsVariant variant,
  5. bool isScrollable = false,
  6. double? height,
  7. Color? selectedColor,
  8. Color? unselectedBackgroundColor,
  9. Color? ghostBackgroundColor,
  10. EdgeInsetsGeometry? padding,
  11. Color? indicatorColor,
  12. double indicatorWeight = 2.0,
  13. EdgeInsetsGeometry indicatorPadding = EdgeInsets.zero,
  14. Decoration? indicator,
  15. TabBarIndicatorSize? indicatorSize,
  16. Color? dividerColor,
  17. double? dividerHeight,
  18. Color? labelColor,
  19. TextStyle? labelStyle,
  20. EdgeInsetsGeometry? labelPadding,
  21. Color? unselectedLabelColor,
  22. TextStyle? unselectedLabelStyle,
  23. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  24. WidgetStateProperty<Color?>? overlayColor,
  25. MouseCursor? mouseCursor,
  26. ValueChanged<int>? onTap,
  27. BorderRadius? splashBorderRadius,
  28. 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);