I'm a beginner with Flutter and after test many solutions, I am blocked. I want to remove the space between my border container and his child image. Both have border radius. Below, my code snippet end the image. Thanks for your precious help.
Container(
height: 100,
width: double.infinity * screenWidthRatio,
margin: const EdgeInsets.fromLTRB(10.0, 0.0, 10.0, 20.0),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20),
border: Border.all(color: blueColor, width: 3),
gradient: const LinearGradient(
begin: Alignment.centerRight,
end: Alignment.centerLeft,
colors: [
Colors.black,
Colors.black87,
Colors.black54,
Colors.transparent,
],
),
),
child: Row(
children: [
ClipRRect(
borderRadius: const BorderRadius.only(
topLeft: Radius.circular(20),
bottomLeft: Radius.circular(20)),
child: Image.network(
'https://img.lemde.fr/2022/02/06/0/0/0/0/580/0/75/0/a8d87fe_5475999-01-06.jpg',
),
),
// Future column
],
),
)