how to design a vertical carousel sider in flutter

1.1k Views Asked by At

enter image description herei want to implement vertical carousel slider where all my element will come vertically one after another . I tried different way but couldnt finding any efficiecnt solution.

i tried different widget like tranform,stack pageview to solve this problem but couldnt finding any solution. using pageview and animation i can make vertical scrolable card but the issue is those are coming one after another like a page way but in my required design i have to design as like one card is laid on another one .

1

There are 1 best solutions below

2
Bora Keçeci On

I am using carousel_slider package, you can give the ratio like :

child: CarouselLoading(
              aspecRatioLoading: 1 / 2.5),

you can copy of an example in package library , it will provide you a vertical image sliding to left and right automatically.

Edit: top- bottom movement => CarouselOptions( scrollDirection: Axis.vertical