Kwik Carousel State
data class KwikCarouselState(val itemCount: Int, var initialIndex: Int = 0, var currentIndex: Int = initialIndex, var loop: Boolean = false)
The state of the carousel
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.