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}) {
return MaterialShapeBorder(
shape: shape ?? this.shape,
side: side ?? this.side,
squash: squash ?? this.squash,
);
}