copyWith method
WxStadiumBorder
copyWith({
- WxBorderSide? side,
- WxBorderStyle? style,
- Color? color,
- Gradient? gradient,
- double? width,
- double? offset,
- double? eccentricity,
Creates a copy of this WxOutlinedBorder
with modified properties.
Use this method to create a new border with specific customizations.
Implementation
@override
WxStadiumBorder copyWith({
WxBorderSide? side,
WxBorderStyle? style,
Color? color,
Gradient? gradient,
double? width,
double? offset,
double? eccentricity,
}) {
return WxStadiumBorder(
side: side ?? this.side,
style: style ?? this.style,
color: color ?? this.color,
gradient: gradient ?? this.gradient,
width: width ?? this.width,
offset: offset ?? this.offset,
);
}