WrapperTabBar constructor

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

Implementation

const WrapperTabBar({
  Key? key,
  this.needTextScale = false,
  this.isPrimary = true,
  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 = Colors.transparent,
  double? dividerHeight,
  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 = NoSplash.splashFactory,
  BorderRadius? splashBorderRadius,
  TabAlignment? tabAlignment,
}) : super(
        key: key,
        tabs: tabs,
        controller: controller,
        isScrollable: isScrollable,
        padding: padding,
        indicatorColor: indicatorColor,
        automaticIndicatorColorAdjustment: automaticIndicatorColorAdjustment,
        indicatorWeight: indicatorWeight,
        indicatorPadding: indicatorPadding,
        indicator: indicator,
        indicatorSize: indicatorSize,
        dividerColor: dividerColor,
        dividerHeight: dividerHeight,
        labelColor: labelColor,
        labelStyle: labelStyle,
        labelPadding: labelPadding,
        unselectedLabelColor: unselectedLabelColor,
        unselectedLabelStyle: unselectedLabelStyle,
        dragStartBehavior: dragStartBehavior,
        overlayColor: overlayColor,
        mouseCursor: mouseCursor,
        enableFeedback: enableFeedback,
        onTap: onTap,
        physics: physics,
        splashFactory: splashFactory,
        splashBorderRadius: splashBorderRadius,
        tabAlignment: tabAlignment,
      );