WrapperTabBar.scale constructor

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

Implementation

const WrapperTabBar.scale({
  Key? key,
  this.textScale = 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,
  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,
  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,
        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,
      );