DialogDate
fun DialogDate(state: BaseDialogState, date: MutableState<LocalDate>, config: DatePickerConfig = DatePickerDefaults.config(), texts: DatePickerTexts = DatePickerDefaults.texts(), buttonToday: @Composable () -> Unit? = {
BasicText(text = texts.today)
}, title: @Composable () -> Unit? = null, icon: @Composable () -> Unit? = null, style: ComposeDialogStyle = DialogDefaults.defaultDialogStyle(), buttons: DialogButtons = DialogDefaults.buttons(), options: DialogOptions = DialogDefaults.options(), onEvent: (event: DialogEvent) -> Unit = {})
Shows a dialog with a date picker.
Basic Parameters: all params not described here are derived from Dialog, check it out for more details
Parameters
date
the selected date state
config
the date picker's formatting, behavior, and supported year range
texts
the texts (DatePickerTexts) used inside this dialog - use DatePickerDefaults.texts to provide your own data
buttonToday
optional content for the Today button; pass null to hide it