Kmp Wheel Picker State
data class KmpWheelPickerState(val initiallySelectedItemIndex: Int = 0, val isInfinite: Boolean = false) : ScrollableState
KmpWheelPickerState The state for KmpWheelPicker
Properties
Functions
Link copied to clipboard
Animates scrolling to the given index. If the wheel picker is infinite, passing the itemCount will allow the picker to scroll to the nearest matching index
Link copied to clipboard
Link copied to clipboard
resetToIndex Resets internal picker state to the given index and animate scrolls the picker to the correct value
Link copied to clipboard
open suspend override fun scroll(scrollPriority: MutatePriority, block: suspend ScrollScope.() -> Unit)
Link copied to clipboard