Here's my ListView. I want it to be clickable not just visible, while skipping its parent column's padding. Right now it's just visible and not clickable because of the OverflowBox widget.
return SizedBox(
height: 65,
child: OverflowBox(
maxWidth: MediaQuery.of(context).size.width,
alignment: Alignment.centerLeft,
child: ListView.builder(
itemCount: galleryItems.length,
scrollDirection: Axis.horizontal,
physics: const BouncingScrollPhysics(),
itemBuilder: (_, idx) {
final galleryItem = galleryItems[idx];
return InkWell(
onTap: () {
Get.to(
() => CustomerPictureScreen(),
arguments: {
'galleryImage': galleryItem.galleryImage,
},
);
},
child: GalleryItemDetailsScreen(
galleryImage: galleryItem.galleryImage,
galleryImageId: galleryItem.galleryImageId,
),
);
},
),
),
);
}
}
And here's my column:
return Padding(
padding: EdgeInsets.only(
top: small + 4,
left: medium,
right: medium,
),
child: Column(
children: [
LabelSection(text: 'About', style: headingBookingScreen),
SizedBox(
height: medium,
),
AboutSection(
about: about,
),
SizedBox(
height: medium,
),
LabelSection(
text: 'Gallery',
style: headingBookingScreen,
),
SizedBox(
height: medium,
),
const GalleryDetailsScreen(),
SizedBox(
height: medium,
),
],
),
);
}
}
Here's what I mean in pictures:
Any help would be appreciated.
Thank you.