Object

PickerDefaults

Contains the default values used by Picker.

Source set: Android

Added in 1.7.0-alpha01

public object PickerDefaults

Contains the default values used by Picker.

Properties

GradientRatio

Source set: Android

Added in 1.7.0-alpha01

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

rotarySnapBehavior

Added in 1.7.0-alpha01

@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: