Date Picker Layout
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
year Weight
The year column weight.
month Weight
The month column weight.
day Weight
The day column weight.
column Order
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
))