copyWith method
Implementation
@override
CameraProgressTheme copyWith({
Color? surfaceColor,
Color? progressColor,
Color? progressExceededColor,
double? thickness,
}) {
return CameraProgressTheme(
surfaceColor: surfaceColor ?? this.surfaceColor,
progressColor: progressColor ?? this.progressColor,
progressExceededColor:
progressExceededColor ?? this.progressExceededColor,
thickness: thickness ?? this.thickness,
);
}