copyWith method
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,
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,
);