I am beginner in flutter. I am trying to design a list view. When item is selected it is slightly cut from side. This is my code
Container(
margin: const EdgeInsets.only(left: SizeSystem.size30,right: SizeSystem.size30),
padding: const EdgeInsets.symmetric(
vertical: SizeSystem.size24,
),
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.circular(
SizeSystem.size20,
),
boxShadow: [
BoxShadow(
color: ColorSystem.blue1.withOpacity(0.15),
blurRadius: 12.0,
spreadRadius: 1.0,
),
],
),
child: ListView.separated(
shrinkWrap: true,
itemCount: teamTaskList.length,
physics: const NeverScrollableScrollPhysics(),
separatorBuilder: (BuildContext context, int index) {
return Container(
margin: const EdgeInsets.symmetric(
horizontal: PaddingSystem.padding24,
),
color: ColorSystem.black.withOpacity(0.1),
height: SizeSystem.size1,
);
},
itemBuilder: (BuildContext context, int index) {
return child...;
},
),
)
and this is what I have achieved so far.
but I want to achieve this
You can see on the right side of tile there is a cut I need your help guys


