DialogTime

fun DialogTime(state: BaseDialogState, time: MutableState<LocalTime>, setup: TimePickerSetup = TimePickerDefaults.setup(), title: @Composable () -> Unit? = null, icon: @Composable () -> Unit? = null, style: ComposeDialogStyle = DialogDefaults.defaultDialogStyle(), buttons: DialogButtons = DialogDefaults.buttons(), options: DialogOptions = DialogDefaults.options(), onEvent: (event: DialogEvent) -> Unit = {}, texts: TimePickerTexts = TimePickerDefaults.texts(), uiProvider: TimeUIProvider = Material3TimeUIProvider)

Shows a dialog with a time input

 

Basic Parameters: all params not described here are derived from Dialog, check it out for more details

Parameters

time

the selected time

setup

the TimePickerSetup - use TimePickerDefaults.setup to provide your own data

texts

localized labels for the hour, minute, and AM/PM controls

uiProvider

the UI implementation used to render the time controls