border color to a container flutter code example
Example 1: container flutter border radius
Container(
decoration: BoxDecoration(
color: Colors.blue,
borderRadius: BorderRadius.all(
Radius.circular(10)
)
)
)
Example 2: flutter container border only top
decoration: BoxDecoration(
border: Border(
top: BorderSide(width: 16.0, color: Colors.lightBlue.shade600),
bottom: BorderSide(width: 16.0, color: Colors.lightBlue.shade900),
),
color: Colors.white,
),