yearMonthPickerLayout

fun yearMonthPickerLayout(yearWeight: Float? = 1.0f, monthWeight: Float? = 1.0f, columnOrder: List<YearMonthPickerColumn> = listOf( YearMonthPickerColumn.YEAR, YearMonthPickerColumn.MONTH )): YearMonthPickerLayout

Creates layout options for io.github.kezlab.compose.pickers.date.YearMonthPicker columns.

Pass null for a column weight when io.github.kezlab.compose.pickers.date.YearMonthPicker should use pickerModifier to define that column width instead of filling weighted row space.

Return

A YearMonthPickerLayout instance with the specified column weights.

Parameters

yearWeight

The year column weight.

monthWeight

The month column weight.

columnOrder

The visual column order. Must contain every YearMonthPickerColumn exactly once.