DatePickerLayout

data class DatePickerLayout(val yearWeight: Float?, val monthWeight: Float?, val dayWeight: Float?, val columnOrder: ImmutableList<DatePickerColumn> = persistentListOf( DatePickerColumn.YEAR, DatePickerColumn.MONTH, DatePickerColumn.DAY ))

Represents layout options used by io.github.kezlab.compose.pickers.date.DatePicker 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.

dayWeight

The day column weight.

columnOrder

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

See also

Constructors

Link copied to clipboard
constructor(yearWeight: Float?, monthWeight: Float?, dayWeight: Float?, columnOrder: ImmutableList<DatePickerColumn> = persistentListOf( DatePickerColumn.YEAR, DatePickerColumn.MONTH, DatePickerColumn.DAY ))

Properties

Link copied to clipboard
val columnOrder: ImmutableList<DatePickerColumn>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard