DatePicker
Date pickers let people select a date and preferably should be embedded into Dialogs. See DatePickerDialog.
By default, a date picker lets you pick a date via a calendar UI. However, it also allows switching into a date input mode for a manual entry of dates using the numbers on a keyboard.
A simple DatePicker looks like:
Parameters
state of the date picker. See rememberDatePickerState.
the Modifier to be applied to this date picker
a DatePickerFormatter that provides formatting skeletons for dates display
the title to be displayed in the date picker
the headline to be displayed in the date picker
indicates if this DatePicker should show a mode toggle action that transforms it into a date input
DatePickerColors that will be used to resolve the colors used for this date picker in different states. See DatePickerDefaults.colors.