copyWith method
Implementation
LinearGradientSpec copyWith({
Color32? color1,
Color32? color2,
double? angle,
double? width,
}) => LinearGradientSpec(
color1: color1 ?? this.color1,
color2: color2 ?? this.color2,
angle: angle ?? this.angle,
width: width ?? this.width,
);