Object

PickerDefaults

Contains the default values used by Picker.

Source set: Android
public object PickerDefaults

Contains the default values used by Picker.

Properties

GradientRatio

Source set: Android
public val GradientRatio: Float

Default Picker gradient ratio - the proportion of the Picker height allocated to each of the of the top and bottom gradients.

Functions

rotarySnapBehavior

@Composable
public fun rotarySnapBehavior(state: PickerState): RotaryScrollableBehavior

Default rotary behavior for Picker - it is recommended to use scroll behavior with snap in order to indicate the selected item in the center of the Picker.

Last updated: