Feature proposal: disable user drag scroll
The slider can be used to animate a "wizard" screen, where the user can complete steps and proceed as the carousel slides.
For navigating between screens, we use a carouselController, and a custom logic to step through the user on screens.
The only problem we face, is that there is no way to disable the manual drag touch. It would be really nice to prevent users from scrolling by touching and dragging the images from one side to the next.
https://user-images.githubusercontent.com/10611667/114444908-b14bc300-9bcf-11eb-916b-2e7c5fbdb4c5.mov
Have you tried with this?
CarouselOptions( scrollPhysics: NeverScrollableScrollPhysics(), ),
Have you tried with this?
CarouselOptions( scrollPhysics: NeverScrollableScrollPhysics(), ),
Thank you for this solution! It can solve our immediate problem indeed. Although, this disables backward scrolling, which could be used otherwise, which is not nice but we can live with that for the time being.
I would also really appreciate the possibility of disabling forward scrolling while still allow backward scrolling.
Or maybe try AbsorbPointer(child: ....)