Open bigbingg opened 1 month ago
Same problem. With the latest version of the library 4.2.1, when setting the property
disableGesture: true
the carousel still swipes. I also noticed that instead of sendingCarouselPageChangedReason.manual
reason in theonPageChanged
listener, it sendsCarouselPageChangedReason.controller
.EDIT: I solved the problem without the
disableGesture
property but using theNeverScrollableScrollPhysics()
scrollPhysics: shouldScroll ? scrollPhysics : const NeverScrollableScrollPhysics()
you can use physics: widget.options.scrollPhysics
Same problem. With the latest version of the library 4.2.1, when setting the property
disableGesture: true
the carousel still swipes. I also noticed that instead of sendingCarouselPageChangedReason.manual
reason in theonPageChanged
listener, it sendsCarouselPageChangedReason.controller
.EDIT: I solved the problem without the
disableGesture
property but using theNeverScrollableScrollPhysics()