copyWith method
DynamicBorderSide
copyWith({
- Color? color,
- Gradient? gradient,
- double? width,
- BorderStyle? style,
- Dimension? begin,
- Dimension? end,
- Dimension? shift,
- StrokeJoin? strokeJoin,
- StrokeCap? strokeCap,
Implementation
DynamicBorderSide copyWith({
Color? color,
Gradient? gradient,
double? width,
BorderStyle? style,
Dimension? begin,
Dimension? end,
Dimension? shift,
StrokeJoin? strokeJoin,
StrokeCap? strokeCap,
}) {
return DynamicBorderSide(
color: color ?? this.color,
gradient: gradient ?? this.gradient,
width: width ?? this.width,
style: style ?? this.style,
begin: begin ?? this.begin,
end: end ?? this.end,
shift: shift ?? this.shift,
strokeCap: strokeCap ?? this.strokeCap,
strokeJoin: strokeJoin ?? this.strokeJoin,
);
}