how to show border of container in flutter code example
Example 1: add border color to acouintainer in flutter
Container(
height: 100,
width: 100,
decoration: BoxDecoration(
border: Border.all(
color: Colors.blue,
),
borderRadius: BorderRadius.circular(10.0),
),
child: Center(
child: Text('mrflutter.com'),
),
),
Example 2: container border left
Container(
decoration: BoxDecoration(
border: Border(
left: BorderSide(color: mainColor, width: 3),
),
),
),