copyWith method
RoundedPolygonBorder
copyWith({
- BorderSide? side,
- double? squash,
- RoundedPolygon? polygon,
- double? startAngle,
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,
double? squash,
RoundedPolygon? polygon,
double? startAngle,
}) => RoundedPolygonBorder(
polygon: polygon ?? this.polygon,
startAngle: startAngle ?? this.startAngle,
);