flutter_carousel_slider icon indicating copy to clipboard operation
flutter_carousel_slider copied to clipboard

Disable Swipe Gesuture?

Open seikosantana opened this issue 2 years ago • 4 comments

Hi, I am seeing if I can use this widget as step-by-step user guide. Is it possible to disable the swipe change page so user cannot change the current active page?

Thanks in advance

seikosantana avatar Jun 22 '22 04:06 seikosantana

Search for the same functionality. @seikosantana did you found any solution?

RUSSCITY avatar Jul 29 '22 13:07 RUSSCITY

I ended up using a different library

seikosantana avatar Jul 30 '22 09:07 seikosantana

You can use AbsorbPointer to disable touch on CarouselSlider https://stackoverflow.com/questions/54220859/flutter-disable-touch-on-the-entire-screen

hm-arora avatar Aug 08 '22 07:08 hm-arora

pass this options: CarouselOptions( scrollPhysics: this.allowSwipeToChangePages ? null : NeverScrollableScrollPhysics(),

brightchip avatar Aug 08 '22 12:08 brightchip

pass this options: CarouselOptions( scrollPhysics: this.allowSwipeToChangePages ? null : NeverScrollableScrollPhysics(),

Doesn't work for me...

sleewok avatar Jan 24 '23 15:01 sleewok

@seikosantana which library you used?

hadi7khan avatar Dec 31 '23 15:12 hadi7khan

@seikosantana which library you used?

@hadi7khan i no longer remember since i have moved on from flutter. I'll take a look on my source when i have access to it

seikosantana avatar Dec 31 '23 16:12 seikosantana

@seikosantana Please do, This issue is giving me headache

hadi7khan avatar Dec 31 '23 16:12 hadi7khan