Composables UI is out: our new component library for Compose Multiplatform ->
Object

TimePickerDialogDefaults

Default properties for a TimePickerDialog

Source set: Common
object TimePickerDialogDefaults

Default properties for a TimePickerDialog

Properties

containerColor

Source set: Common
val containerColor

Container color for TimePickerDialog

shape

Source set: Common
val shape

Shape color for TimePickerDialog

richContainerColor

Source set: Common
val richContainerColor

Container color for a rich TimePickerDialog

richShape

Source set: Common
val richShape

Shape color for a rich TimePickerDialog

MinHeightForTimePicker

Source set: Common
val MinHeightForTimePicker: Dp

Min Screen Height required to display a TimePicker in Picker in mode

Functions

DisplayModeToggle

@Composable
    fun DisplayModeToggle(
        onDisplayModeChange: () -> Unit,
        displayMode: TimePickerDisplayMode,
        modifier: Modifier = Modifier,
    )

A button that toggles the display mode of the time picker between TimePickerDisplayMode.Picker and TimePickerDisplayMode.Input.

Parameters

onDisplayModeChange called when the button is clicked
displayMode the current display mode of the time picker
modifier the Modifier to be applied to this button

Title

@Composable
    fun Title(displayMode: TimePickerDisplayMode, modifier: Modifier = Modifier)

The title of the time picker dialog.

Parameters

modifier the Modifier to be applied to this title
displayMode the current display mode of the time picker

Last updated: