copyWith method
📋 Return a BoxShadow with fields that mirror this
except for the parameters passed with this method.
Implementation
BoxShadow copyWith({
Color? color,
Offset? offset,
double? blurRadius,
double? spreadRadius,
}) =>
BoxShadow(
color: color ?? this.color,
offset: offset ?? this.offset,
blurRadius: blurRadius ?? this.blurRadius,
spreadRadius: spreadRadius ?? this.spreadRadius,
);