Package 

Class DatePickerKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit DatePicker(Function1<LocalDate, Unit> onDateConfirm, Modifier modifier, LocalDate date) Full screen date picker with day, month, year.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 the Box containing the UI elements.
        date - the initial value to seed the picker with.