TabBarBox constructor

const TabBarBox({
  1. Key? key,
  2. required TabController controller,
  3. required List<Widget> tabs,
  4. EdgeInsetsGeometry indicatorPadding = EdgeInsets.zero,
  5. TabBarLevelPosition levelPosition = TabBarLevelPosition.right,
  6. EdgeInsetsGeometry? labelPadding,
  7. bool isScrollable = true,
  8. AlignmentGeometry? alignment,
  9. Widget? tabBarLevel,
  10. Color? labelColor,
  11. Color? unselectedLabelColor,
  12. TabBarIndicatorSize? indicatorSize = TabBarIndicatorSize.label,
  13. TextStyle? labelStyle,
  14. TextStyle? unselectedLabelStyle,
  15. double indicatorWeight = 1,
  16. Decoration? indicator,
  17. EdgeInsetsGeometry? margin,
  18. EdgeInsetsGeometry? padding,
  19. double? height,
  20. Decoration? decoration,
  21. double? width,
  22. ValueChanged<int>? onTap,
  23. Color? indicatorColor,
  24. bool automaticIndicatorColorAdjustment = true,
  25. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  26. MaterialStateProperty<Color?>? overlayColor,
  27. MouseCursor? mouseCursor,
  28. bool? enableFeedback,
  29. ScrollPhysics? physics,
})

Implementation

const TabBarBox({
  super.key,
  required this.controller,
  required this.tabs,
  this.indicatorPadding = EdgeInsets.zero,
  this.levelPosition = TabBarLevelPosition.right,
  this.labelPadding,
  this.isScrollable = true,
  this.alignment,
  this.tabBarLevel,
  this.labelColor,
  this.unselectedLabelColor,
  this.indicatorSize = TabBarIndicatorSize.label,
  this.labelStyle,
  this.unselectedLabelStyle,
  this.indicatorWeight = 1,
  this.indicator,
  this.margin,
  this.padding,
  this.height,
  this.decoration,
  this.width,
  this.onTap,
  this.indicatorColor,
  this.automaticIndicatorColorAdjustment = true,
  this.dragStartBehavior = DragStartBehavior.start,
  this.overlayColor,
  this.mouseCursor,
  this.enableFeedback,
  this.physics,
});