Use the border and borderRadius property of BoxDecoration to define the rounded corners of the border. You can set:
Ex1.
Container(
height: 200,
width: 200,
decoration: BoxDecoration(
border: Border.all(
color: Colors.yellow,
width: 5.0,
),
borderRadius: BorderRadius.circular(10.0), // Uniform radius
),
)
Output :
Work with our skilled Flutter developers to accelerate your project and boost its performance.
Hire Flutter Developers