copyWith method

UTabBarTheme copyWith({
  1. Color? backgroundColor,
  2. Gradient? backgroundGradient,
  3. Color? selectedTabColor,
  4. Color? hoverTabColor,
  5. Color? unselectedTabColor,
  6. Color? selectedTextColor,
  7. Color? unselectedTextColor,
  8. Color? indicatorColor,
  9. Color? controlColor,
  10. double? height,
  11. double? tabHeight,
  12. double? minTabWidth,
  13. double? maxTabWidth,
  14. double? gap,
  15. BorderRadius? tabRadius,
  16. Duration? animationDuration,
  17. Curve? animationCurve,
  18. bool? showSelectedUnderline,
})

Implementation

UTabBarTheme copyWith({
  Color? backgroundColor,
  Gradient? backgroundGradient,
  Color? selectedTabColor,
  Color? hoverTabColor,
  Color? unselectedTabColor,
  Color? selectedTextColor,
  Color? unselectedTextColor,
  Color? indicatorColor,
  Color? controlColor,
  double? height,
  double? tabHeight,
  double? minTabWidth,
  double? maxTabWidth,
  double? gap,
  BorderRadius? tabRadius,
  Duration? animationDuration,
  Curve? animationCurve,
  bool? showSelectedUnderline,
}) => UTabBarTheme(
  backgroundColor: backgroundColor ?? this.backgroundColor,
  backgroundGradient: backgroundGradient ?? this.backgroundGradient,
  selectedTabColor: selectedTabColor ?? this.selectedTabColor,
  hoverTabColor: hoverTabColor ?? this.hoverTabColor,
  unselectedTabColor: unselectedTabColor ?? this.unselectedTabColor,
  selectedTextColor: selectedTextColor ?? this.selectedTextColor,
  unselectedTextColor: unselectedTextColor ?? this.unselectedTextColor,
  indicatorColor: indicatorColor ?? this.indicatorColor,
  controlColor: controlColor ?? this.controlColor,
  height: height ?? this.height,
  tabHeight: tabHeight ?? this.tabHeight,
  minTabWidth: minTabWidth ?? this.minTabWidth,
  maxTabWidth: maxTabWidth ?? this.maxTabWidth,
  gap: gap ?? this.gap,
  tabRadius: tabRadius ?? this.tabRadius,
  animationDuration: animationDuration ?? this.animationDuration,
  animationCurve: animationCurve ?? this.animationCurve,
  showSelectedUnderline: showSelectedUnderline ?? this.showSelectedUnderline,
);