ClipRRect Border has sharp edge instead of circular

Viewed 45
ClipRRect(
                    borderRadius: BorderRadius.circular(25),
                    child: ImageSlideshow(
...

I'm using the ImageSlideShow package and trying to make it have circular edges, but as in this screenshot, the circular border has a sharp edge instead of getting curved evenly, why is that and how do I perfect it?

enter image description here enter image description here

1 Answers

Instead of borderRadius: BorderRadius.circular(25), you might want to go like this.

borderRadius: BorderRadius.all(Radius.circular(25)),

this should solve the problem.

Related