copyWith method
Returns a copy of this OutlinedBorder that draws its outline with the
specified side
, if side
is non-null.
Implementation
@override
OutlinedBorder copyWith({BorderSide? side}) {
if (side == null) return this;
return FlutterPolygonBorder(
sides: sides,
side: side,
rotate: rotate,
borderRadius: borderRadius,
);
}