ExtendedTabBar constructor

const ExtendedTabBar({
  1. Key? key,
  2. required List<Widget> tabs,
  3. TabController? controller,
  4. bool isScrollable = false,
  5. EdgeInsetsGeometry? padding,
  6. Color? indicatorColor,
  7. bool automaticIndicatorColorAdjustment = true,
  8. double indicatorWeight = 2.0,
  9. EdgeInsetsGeometry indicatorPadding = EdgeInsets.zero,
  10. Decoration? indicator,
  11. TabBarIndicatorSize? indicatorSize,
  12. Color? dividerColor,
  13. Color? labelColor,
  14. TextStyle? labelStyle,
  15. EdgeInsetsGeometry? labelPadding,
  16. Color? unselectedLabelColor,
  17. TextStyle? unselectedLabelStyle,
  18. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  19. MaterialStateProperty<Color?>? overlayColor,
  20. MouseCursor? mouseCursor,
  21. bool? enableFeedback,
  22. ValueChanged<int>? onTap,
  23. ScrollPhysics? physics,
  24. InteractiveInkFeatureFactory? splashFactory,
  25. BorderRadius? splashBorderRadius,
  26. Axis scrollDirection = Axis.horizontal,
  27. MainAxisAlignment? mainAxisAlignment,
  28. 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,
});