Answers for "round corners of a box flutter"

4

flutter container rounded corners

Container(
  decoration: BoxDecoration(
    border: Border.all(
      color: Colors.red[500],
    ),
    borderRadius: BorderRadius.all(Radius.circular(20))
  ),
  child: ...
)
Posted by: Guest on May-24-2020
2

flutter container rounded top corners

Container(
  height: 200.0,
  color: Colors.transparent,
  child: Container(
    decoration:  BoxDecoration(
      color: Colors.red,
      borderRadius: BorderRadius.only(
        topLeft: const Radius.circular(20.0),
        topRight: const Radius.circular(20.0),
      )
    ),
    child: Text("Text ...."),
 ),
),
Posted by: Guest on April-27-2022

Code answers related to "round corners of a box flutter"

Browse Popular Code Answers by Language