Create a circle shape image using Flutter

In this article I will share with you rounded image by ClipOval widget clips the child widget in oval or circle shape. We can reshape the child
widget by changing width and height. If width and height are equal the shape will be circular. If the width and height are given differently then the shape will be oval. Let’s understand this with the help of an example:

ClipOval(
   child: Image.network(
       imgUrl,
       fit: BoxFit.fill,
       width: 190.0,
       height: 190.0,
   ),
);

I hope it will help you. 

Tags: