Package-level declarations
Types
Link copied to clipboard
interface DatePickerColors
Represents the colors used by a timepicker and its parts in different states
Link copied to clipboard
object DatePickerDefaults
Object to hold default values used by datepicker
Functions
Link copied to clipboard
fun MaterialDialogScope.datepicker(initialDate: LocalDate = remember {
Clock.System.now()
.toLocalDateTime(TimeZone.currentSystemDefault())
.date
}, title: String = "SELECT DATE", colors: DatePickerColors = DatePickerDefaults.colors(), yearRange: IntRange = IntRange(1900, 2100), waitForPositiveButton: Boolean = true, allowedDateValidator: (LocalDate) -> Boolean = { true }, locale: Locale = Locale.current, onDateChange: (LocalDate) -> Unit = {})