rememberWheelPickerState

fun rememberWheelPickerState(itemCount: Int, initialIndex: Int = 0): WheelPickerState

Creates and remembers a WheelPickerState instance.

Parameters

itemCount

the item count.

initialIndex

the index of the initially selected item.