how to build rounded border in flutter code example
Example 1: column round border flutter
Container(
decoration: BoxDecoration(
border: Border.all(
color: Colors.red[500],
),
color: Colors.green[500],
borderRadius: BorderRadius.all(Radius.circular(20))
),
child: ...
)
Example 2: round border container flutter
Container(
decoration: BoxDecoration(
border: Border.all(
color: Colors.red[500],
),
borderRadius: BorderRadius.all(Radius.circular(20))
),
child: ...
)