Kwik Carousel State
constructor(itemCount: Int, initialIndex: Int = 0, currentIndex: Int = initialIndex, loop: Boolean = false)
Parameters
item Count
: The number of items in the carousel.
initial Index
: The index of the item to display first.
current Index
: The index of the currently displayed item.
loop
: Whether to loop the carousel.