copyWith method
AnyBackground
copyWith({
- AnyShapeBase? shapeBase,
- Color? color,
- Gradient? gradient,
- DecorationImage? image,
- BlendMode? blendMode,
- bool? isAntiAlias,
Implementation
AnyBackground copyWith({
AnyShapeBase? shapeBase,
Color? color,
Gradient? gradient,
DecorationImage? image,
BlendMode? blendMode,
bool? isAntiAlias,
}) {
return AnyBackground(
shapeBase: shapeBase ?? this.shapeBase,
color: color ?? this.color,
gradient: gradient ?? this.gradient,
image: image ?? this.image,
blendMode: blendMode ?? this.blendMode,
isAntiAlias: isAntiAlias ?? this.isAntiAlias,
);
}