Year Month Picker Layout
data class YearMonthPickerLayout(val yearWeight: Float?, val monthWeight: Float?, val columnOrder: ImmutableList<YearMonthPickerColumn> = persistentListOf(
YearMonthPickerColumn.YEAR,
YearMonthPickerColumn.MONTH
))
Represents layout options used by io.github.kezlab.compose.pickers.date.YearMonthPicker columns.
Set a column weight to null to leave that column unweighted so pickerModifier can provide an explicit width.
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.
See also
Constructors
Link copied to clipboard
constructor(yearWeight: Float?, monthWeight: Float?, columnOrder: ImmutableList<YearMonthPickerColumn> = persistentListOf(
YearMonthPickerColumn.YEAR,
YearMonthPickerColumn.MONTH
))