KwikCarouselState

constructor(itemCount: Int, initialIndex: Int = 0, currentIndex: Int = initialIndex, loop: Boolean = false)

Parameters

itemCount

: The number of items in the carousel.

initialIndex

: The index of the item to display first.

currentIndex

: The index of the currently displayed item.

loop

: Whether to loop the carousel.