copyWith method
Implementation
BoxDecoration copyWith(BoxDecoration other) {
return decoration.copyWith(
color: other.color,
border: other.border,
borderRadius: other.borderRadius,
boxShadow: other.boxShadow,
image: other.image,
backgroundBlendMode: other.backgroundBlendMode,
shape: other.shape,
gradient: other.gradient,
);
}