-
public final class DatePickerKt
-
-
Method Summary
Modifier and Type Method Description final static UnitDatePicker(Function1<LocalDate, Unit> onDateConfirm, Modifier modifier, LocalDate date)Full screen date picker with day, month, year. -
-
Method Detail
-
DatePicker
@Composable() final static Unit DatePicker(Function1<LocalDate, Unit> onDateConfirm, Modifier modifier, LocalDate date)
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.
-
-
-
-