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 = 0.33f

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

Functions

rotarySnapBehavior

Source set: Android
@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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: