year Month Picker Layout
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
year Weight
The year column weight.
month Weight
The month column weight.
column Order
The visual column order. Must contain every YearMonthPickerColumn exactly once.