copyWith method
RoundedPolygonBorder
copyWith({
- BorderSide? side,
- StrokeCap? strokeCap,
- StrokeJoin? strokeJoin,
- double? strokeMiterLimit,
- double? squash,
- RoundedPolygon? polygon,
- double? startAngle,
override
Returns a copy of this OutlinedBorder that draws its outline with the
specified side, if side is non-null.
Implementation
@override
RoundedPolygonBorder copyWith({
BorderSide? side,
StrokeCap? strokeCap,
StrokeJoin? strokeJoin,
double? strokeMiterLimit,
double? squash,
RoundedPolygon? polygon,
double? startAngle,
}) => RoundedPolygonBorder(
side: side ?? this.side,
strokeCap: strokeCap ?? this.strokeCap,
strokeJoin: strokeJoin ?? this.strokeJoin,
strokeMiterLimit: strokeMiterLimit ?? this.strokeMiterLimit,
squash: squash ?? this.squash,
polygon: polygon ?? this.polygon,
startAngle: startAngle ?? this.startAngle,
);