copyWith method
ShadBorder
copyWith({
- EdgeInsetsGeometry? padding,
- ShadBorderSide? top,
- ShadBorderSide? right,
- ShadBorderSide? bottom,
- ShadBorderSide? left,
- BorderRadiusGeometry? radius,
- double? offset,
Implementation
ShadBorder copyWith({
EdgeInsetsGeometry? padding,
ShadBorderSide? top,
ShadBorderSide? right,
ShadBorderSide? bottom,
ShadBorderSide? left,
BorderRadiusGeometry? radius,
double? offset,
}) {
return ShadBorder(
top: top ?? this.top,
right: right ?? this.right,
bottom: bottom ?? this.bottom,
left: left ?? this.left,
padding: padding ?? this.padding,
radius: radius ?? this.radius,
offset: offset ?? this.offset,
);
}