rounded borders for container in flutte

To create a container with rounded borders in Flutter, you can use the Container widget and set the decoration property to a BoxDecoration with a BorderRadius for rounded corners. Here's an example code snippet:

  decoration: BoxDecoration(
    borderRadius: BorderRadius.circular(10.0),
    color:, // Replace with your desired color
  // Add child widgets here

In the above code, the BorderRadius.circular method is used to create rounded corners with a radius of 10.0. You can adjust the radius value to achieve the desired level of roundness. The color property is set to as an example, but you can replace it with your preferred color.

I hope this helps! Let me know if you have any further questions.