object PickerDefaults


Contains the default values used by Picker.

Summary

Public functions

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.

Public properties

Float

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

Public functions

rotarySnapBehavior

Added in 1.0.0-alpha28
@Composable
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.

Public properties

GradientRatio

Added in 1.0.0-alpha28
val GradientRatioFloat

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