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 :