Comments (10)
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 sending CarouselPageChangedReason.manual
reason in the onPageChanged
listener, it sends CarouselPageChangedReason.controller
.
EDIT: I solved the problem without the disableGesture
property but using the NeverScrollableScrollPhysics()
scrollPhysics: shouldScroll ? scrollPhysics : const NeverScrollableScrollPhysics()
from flutter_carousel_slider.
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
from flutter_carousel_slider.
The carousel_slider
is not maintained anymore so I have created my own fork carousel_slider_plus
and pushed it on pub.dev.
I am also fixing some bugs that are being discovered in carousel_slider
.
from flutter_carousel_slider.
is this issue fixed
from flutter_carousel_slider.
@jishnulal-crypto not yet.. not fixed.
I temporarily solved it using the AbsorbPointer widget.
AbsorbPointer(
absorbing: true,
child: CarouselSlider(
...
)
)
from flutter_carousel_slider.
This issue is already fixed and live on pub.dev, This is my own fork.
from flutter_carousel_slider.
I'm currently using the latest version 4.2.1, but it doesn't work.
disableGesture: true
Even with this setting, the gesture works.
There are various types of gestures, but if disableGesture: true
, the first one works for manual scrolling.
from flutter_carousel_slider.
Please click on the link given in above comment!!
from flutter_carousel_slider.
@kishan-dhankecha
Sorry. Has the carousel_slider
plugin been replaced by the carousel_slider_plus
plugin?
Will the carousel_slider
plugin not be updated in the future?
from flutter_carousel_slider.
@kishan-dhankecha Thanks :)
from flutter_carousel_slider.
Related Issues (20)
- 'enableInfiniteScroll: false' doesn't work when setState is used in onPageChanged HOT 6
- cpu 20%
- Unhandled Exception: Null check operator used on a null value HOT 1
- multiple images displayed HOT 3
- PageStorage.of() was called with a context that does not contain a PageStorage widget. HOT 1
- Import conflicts with CarouselController in Flutter version 3.23.0-13.0.pre.168 HOT 21
- Carousel_slider is Showing two imports HOT 6
- 'CarouselController' is imported from both 'package:carousel_slider/carousel_controller.dart' and 'package:flutter/src/material/carousel.dart'. HOT 1
- IOS: CarouselController throws Null error on nextPage or jumpToPage HOT 2
- Autoplay is delayed by autoPlayInterval
- Error: 'CarouselController' is imported from both... HOT 1
- Can't display item with child is PlatformView without error.
- Same size to all other items in carousel except center
- Show multiple elements at once HOT 1
- Flutter 3.24.0 Error: 'CarouselController' is imported from both 'package:carousel_slider/carousel_controller.dart' and 'package:flutter/src/material/carousel.dart' HOT 35
- This package is not working on the new Flutter version (3.24.0). HOT 11
- Acabei de atualizar para o Flutter 3.24.0 e recebi este erro: HOT 3
- Error: 'CarouselController' is imported from both 'package:carousel_slider/carousel_controller.dart' and 'package:flutter/src/material/carousel.dart'. HOT 4
- Conflict between CarouselController from carousel_slider and Flutter's CarouselView HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_carousel_slider.