Flutter Get Carousel Slider Indeks Saat Ini
CarouselSlider(
...
options: CarouselOptions(
onPageChanged: (index, reason) {
setState(() {
_currentIndex = index; //<-- Page index
});
},
),
items: ... ,
),
Lazurite