give border radius . allflutter code example
Example 1: round border container flutter
Container(
decoration: BoxDecoration(
border: Border.all(
color: Colors.red[500],
),
borderRadius: BorderRadius.all(Radius.circular(20))
),
child: ...
)
Example 2: different border radius on container flutter
Container(
decoration: BoxDecoration(
color: gray,
borderRadius: BorderRadius.only(
bottomLeft: Radius.circular(20),
bottomRight: Radius.circular(20),
)),
child: ...,
),