copyWith method

  1. @override
CameraProgressTheme copyWith({
  1. Color? surfaceColor,
  2. Color? progressColor,
  3. Color? progressExceededColor,
  4. double? thickness,
})
override

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,
  );
}