YearMonthPickerLayout

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

yearWeight

The year column weight.

monthWeight

The month column weight.

columnOrder

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 ))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard