Package-level declarations
Types
Link copied to clipboard
interface TimePickerColors
Represents the colors used by a timepicker and its parts in different states
Link copied to clipboard
object TimePickerDefaults
Object to hold default values used by timepicker
Functions
Link copied to clipboard
fun MaterialDialogScope.timepicker(initialTime: LocalTime = remember {
Clock.System.now()
.toLocalDateTime(TimeZone.currentSystemDefault())
.time
.noSeconds()
}, title: String = "SELECT TIME", colors: TimePickerColors = TimePickerDefaults.colors(), waitForPositiveButton: Boolean = true, timeRange: ClosedRange<LocalTime> = LocalTime.Min..LocalTime.Max, is24HourClock: Boolean = false, onTimeChange: (LocalTime) -> Unit = {})