You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want Swiper to adapt to his items height and auto-resize.
Here my code:
Swiper(
itemBuilder: (BuildContext context, int index) {
return savedPostItems[index];
},
itemCount: savedPostItems.length,
viewportFraction: 0.8,
scale: 0.9,
loop: false,
itemWidth: 450,
itemHeight: 300,
layout: SwiperLayout.TINDER,
)
The items in it are container.
Thank you in advance,
The text was updated successfully, but these errors were encountered:
I want Swiper to adapt to his items height and auto-resize.
Here my code:
Swiper(
itemBuilder: (BuildContext context, int index) {
return savedPostItems[index];
},
itemCount: savedPostItems.length,
viewportFraction: 0.8,
scale: 0.9,
loop: false,
itemWidth: 450,
itemHeight: 300,
layout: SwiperLayout.TINDER,
)
The items in it are container.
Thank you in advance,
I want Swiper to adapt to his items height and auto-resize.
Here my code:
Swiper(
itemBuilder: (BuildContext context, int index) {
return savedPostItems[index];
},
itemCount: savedPostItems.length,
viewportFraction: 0.8,
scale: 0.9,
loop: false,
itemWidth: 450,
itemHeight: 300,
layout: SwiperLayout.TINDER,
)
The items in it are container.
Thank you in advance,
The text was updated successfully, but these errors were encountered: