copyWith method
WxContinuousRectangleBorder
copyWith({
- WxBorderSide? side,
- WxBorderStyle? style,
- Color? color,
- Gradient? gradient,
- double? width,
- double? offset,
- BorderRadiusGeometry? corners,
override
Returns a copy of this WxRoundedRectangleBorder with the given fields replaced with the new values.
Implementation
@override
WxContinuousRectangleBorder copyWith({
WxBorderSide? side,
WxBorderStyle? style,
Color? color,
Gradient? gradient,
double? width,
double? offset,
BorderRadiusGeometry? corners,
}) {
return WxContinuousRectangleBorder(
side: side ?? this.side,
style: style ?? this.style,
color: color ?? this.color,
gradient: gradient ?? this.gradient,
width: width ?? this.width,
offset: offset ?? this.offset,
corners: corners ?? this.corners,
);
}