copyWith method
Returns a copy of this OutlinedBorder that draws its outline with the
specified side, if side is non-null.
Implementation
@override
MaterialShapeBorder copyWith({
RoundedPolygon? shape,
BorderSide? side,
double? squash,
}) => .new(
shape: shape ?? this.shape,
side: side ?? this.side,
squash: squash ?? this.squash,
);