copyWith method
DashOutlineShapeBorder
copyWith({
- BorderSide? side,
- BorderRadiusGeometry? borderRadius,
- double? step,
- double? span,
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? step, double? span}) {
return DashOutlineShapeBorder(
side: side ?? this.side,
borderRadius: borderRadius ?? this.borderRadius,
step: step ?? this.step,
span: span ?? this.span,
);
}