Package com.vanpra.composematerialdialogs.datetime.time

Types

TimePickerColors
Link copied to clipboard
interface TimePickerColors

Represents the colors used by a timepicker and its parts in different states

interface TimePickerColors

Represents the colors used by a timepicker and its parts in different states

TimePickerDefaults
Link copied to clipboard
object TimePickerDefaults

Object to hold default values used by timepicker

object TimePickerDefaults

Object to hold default values used by timepicker

Functions

timepicker
Link copied to clipboard
@Composable
fun MaterialDialogScope.timepicker(initialTime: LocalTime = LocalTime.now().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 = {})
@Composable
fun MaterialDialogScope.timepicker(initialTime: LocalTime = LocalTime.now().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 = {})