copyWith method
Implementation
@override
BackgroundStyle copyWith(BackgroundStyle other) {
return BackgroundStyle(
paint: other.backgroundPaint ?? backgroundPaint,
borderColor: other.borderPaint?.color ?? borderPaint?.color,
borderRadius: other.borderRadius,
borderWidth: other.borderWidths.top,
);
}