serenader2014 / flutter_carousel_slider

A flutter carousel widget, support infinite scroll, and custom child widget.
https://pub.dev/packages/carousel_slider
MIT License
1.55k stars 517 forks source link

Indicator not updating value when viewPortFraction property is set (value near the half of Screen Width) #433

Open Kop3sh opened 4 months ago

Kop3sh commented 4 months ago

GIVEN we are using the built-in CarouselController() to manage the current index indicator as mentioned in the docs and the viewPortFraction property is set to a value near 0.6 (maybe set close to the half screen width) WHEN the user slides to the next slide, THEN the indicator does not reflect the changes. (Error)

Expected Behavior: indicator changes accordingly