copyWith method

BouncingCircle copyWith({
  1. double? width,
  2. Color? color,
})

Implementation

BouncingCircle copyWith({double? width, Color? color}) {
  return BouncingCircle(
    color ?? this.color,
    width ?? this.width,
    min,
    max,
  );
}