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

Null check operator used on a null value on line 144 #408

Open maxguy opened 1 year ago

maxguy commented 1 year ago

142 CarouselPageChangedReason previousReason = mode; 143 changeMode(CarouselPageChangedReason.timed); 144 int nextPage = carouselState!.pageController!.page!.round() + 1; 145 int itemCount = widget.itemCount ?? widget.items!.length;

yuyangkk commented 8 months ago

The same problem

kishan-dhankecha commented 2 days ago

Hi, @maxguy, @yuyangkk

Can you guys provide reproducible code for this issue? I would like to fix this issue and update on my fork.

https://pub.dev/packages/carousel_slider_plus