time Picker Layout
fun timePickerLayout(periodWeight: Float? = 1.0f, hourWeight: Float? = 1.0f, minuteWeight: Float? = 1.0f, columnOrder: List<TimePickerColumn> = listOf(
TimePickerColumn.PERIOD,
TimePickerColumn.HOUR,
TimePickerColumn.MINUTE
)): TimePickerLayout
Creates layout options for io.github.kezlab.compose.pickers.time.TimePicker columns.
Pass null for a column weight when io.github.kezlab.compose.pickers.time.TimePicker should use pickerModifier to define that column width instead of filling weighted row space.
Return
A TimePickerLayout instance with the specified column weights.
Parameters
period Weight
The AM/PM column weight in 12-hour mode.
hour Weight
The hour column weight.
minute Weight
The minute column weight.
column Order
The visual column order. Must contain every TimePickerColumn exactly once. TimePickerColumn.PERIOD is still required in 24-hour mode, but its position is ignored.