copyWith method
Implementation
DebugTheme copyWith({
Color? color,
Color? borderColor,
Color? activeColor,
Color? activeBorderColor,
Color? labelColor,
Color? labelBackgroundColor,
Color? indicatorColor,
List<Color>? segmentColors,
}) {
return DebugTheme(
color: color ?? this.color,
borderColor: borderColor ?? this.borderColor,
activeColor: activeColor ?? this.activeColor,
activeBorderColor: activeBorderColor ?? this.activeBorderColor,
labelColor: labelColor ?? this.labelColor,
labelBackgroundColor: labelBackgroundColor ?? this.labelBackgroundColor,
indicatorColor: indicatorColor ?? this.indicatorColor,
segmentColors: segmentColors ?? this.segmentColors,
);
}