In my flutter project, I am creating a Swiper widget of images at the top portion of the screen. Along with that, I want the whole screen to be scrollable as there is content below the swiper and other widgets too.
The problem is that if I use SingleChildScrollView for the column widget of all widgets, the Swiper does not function.
Here's the code
SingleChildScrollView(
child: Column(
children: [
Swiper(
layout: SwiperLayout.CUSTOM,
customLayoutOption: CustomLayoutOption(
//my custom swiper options
),
itemBuilder: (context, index) {
return Stack(//images,text on top of it),
},
)
Container(child:...//other widgets),
Container(child:...//other widgets),
]
)
)
//SingleChildScrollView