-
public final class DatePickerKt
-
-
Method Summary
-
-
Method Detail
-
DatePicker
@Composable() final static Unit DatePicker(Function1<LocalDate, Unit> onDateConfirm, Modifier modifier, LocalDate date, LocalDate fromDate, LocalDate toDate)
Full screen date picker with day, month, year.
This component is designed to take most/all of the screen and utilizes large fonts. In order to ensure that it will draw properly on smaller screens it does not take account of user font size overrides for MaterialTheme.typography.display2 which is used to display the main picker value.
- Parameters:
onDateConfirm- the button event handler.modifier- the modifiers for theBoxcontaining the UI elements.date- the initial value to seed the picker with.fromDate- the minimum date to be selected in pickertoDate- the maximum date to be selected in picker
-
-
-
-