I have a view like that
And I would like the image carousel to be without a horizontal margin like:
My image carousel is inside 3rd party widget so I need something like a negative margin?
I've tried transform
on Container
, but it only translates one side.
Container(
height: 160,
transform: Matrix4.translationValues(-20, 0, 0),
child: ListView(
scrollDirection: Axis.horizontal,
children: [
...
],
),
),