i made this code:
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
height: 40.0,
width: MediaQuery.of(context).size.width / 2 - 20,
decoration: BoxDecoration(
color: Colors.red,
borderRadius: BorderRadius.only(
topLeft: Radius.circular(15.0),
topRight: Radius.circular(15.0),
),
),
),
Container(
height: 80.0,
width: MediaQuery.of(context).size.width - 40,
decoration: BoxDecoration(
color: Colors.red,
borderRadius: BorderRadius.only(
bottomLeft: Radius.circular(15.0),
bottomRight: Radius.circular(15.0),
topRight: Radius.circular(15.0),
),
),
),
],
),
],
),
That is the result of the code:
How can I put a border, around the red shape?
I tried adding the code inside a container and putting a Border.all() but of course it doesn't work
I hope I have been clear, Thank you :)