date Picker Layout
fun datePickerLayout(yearWeight: Float? = 1.2f, monthWeight: Float? = 0.8f, dayWeight: Float? = 0.8f, columnOrder: List<DatePickerColumn> = listOf(
DatePickerColumn.YEAR,
DatePickerColumn.MONTH,
DatePickerColumn.DAY
)): DatePickerLayout
Creates layout options for io.github.kezlab.compose.pickers.date.DatePicker columns.
Pass null for a column weight when io.github.kezlab.compose.pickers.date.DatePicker should use pickerModifier to define that column width instead of filling weighted row space.
Return
A DatePickerLayout instance with the specified column weights.
Parameters
year Weight
The year column weight.
month Weight
The month column weight.
day Weight
The day column weight.
column Order
The visual column order. Must contain every DatePickerColumn exactly once.