Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swiper physics #185

Closed
yarmel opened this issue Feb 22, 2020 · 3 comments
Closed

Swiper physics #185

yarmel opened this issue Feb 22, 2020 · 3 comments

Comments

@yarmel
Copy link

yarmel commented Feb 22, 2020

Hi & thank you for your great work on Swiper. I use it & I like it but can you please explain how can I use Swiper inside PageView without set physics: NeverScrollableScrollPhysics(). Default ListView scroll inside PageView fine but when I try to Swipe it change my Page. Can you help with this issue?

Swiper( layout: SwiperLayout.STACK, fade: 1.0, itemWidth: containerWidth, itemHeight: containerHeight, itemBuilder: (context, index) { if (motivations.length >= 3) { return LargeMotivationCard( containerHeight: containerHeight, containerWidth: containerWidth, motivation: motivations[index], index: index, border: 8.0, ); } else { return Container( child: Padding( padding: const EdgeInsets.all(80.0), child: SvgPicture.asset( 'storage/assets/icons/tabs/ai.svg', color: Theme.of(context).accentColor.withOpacity(0.1), ), ), ); } }, itemCount: 7, ),

@AhmedNourJamalElDin
Copy link

Any update, please?

@yarmel
Copy link
Author

yarmel commented Mar 22, 2020

Hi. This is not actual any more. Thanks

@yarmel yarmel closed this as completed Mar 22, 2020
@AhmedNourJamalElDin
Copy link

Sorry, what do you mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants