PickerDefaults
object PickerDefaults
Contains the default values used by Picker.
Summary
Public functions |
|
|---|---|
RotaryScrollableBehavior |
@ComposableDefault rotary behavior for |
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
@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
val GradientRatio: Float
Default Picker gradient ratio - the proportion of the Picker height allocated to each of the of the top and bottom gradients.