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: flutter container border radius
Container(
child: Text(
'This is a Container',
textScaleFactor: 2,
style: TextStyle(color: Colors.black),
),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.white,
boxShadow: [
BoxShadow(color: Colors.green, spreadRadius: 3),
],
),
height: 50,
),
Example 3: flutter BorderRadius.all(
borderRadius: BorderRadius.circular(10)
Example 4: flutter border radius
borderRadius: BorderRadius.all(Radius.circular(5.0))
Example 5: flutter borderradius.only example
BorderRadius.only(
topRight: Radius.circular(40),
),
Example 6: container border radius flutter
Container(
child: Text(
'This is a Container',
textScaleFactor: 2,
style: TextStyle(color: Colors.black),
),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.white,
border: Border(
left: BorderSide(
color: Colors.green,
width: 3,
),
),
),
height: 50,
),