copyWith method
DashOutlineShapeBorder
copyWith({
- BorderSide? side,
- BorderRadiusGeometry? borderRadius,
- double? dashGap,
override
Returns a copy of this RoundedRectangleBorder with the given fields replaced with the new values.
Implementation
@override
DashOutlineShapeBorder copyWith(
{BorderSide? side, BorderRadiusGeometry? borderRadius, double? dashGap}) {
return DashOutlineShapeBorder(
side: side ?? this.side,
borderRadius: borderRadius ?? this.borderRadius,
dashGap: dashGap ?? this.dashGap,
);
}