Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 377 Bytes

dialog-time.md

File metadata and controls

9 lines (6 loc) · 377 Bytes

Time Dialog

Preview Module
Preview time

This shows a time selector dialog. 24h mode is optional.

fun DialogTime(
state: DialogState,
// Custom - Required
time: MutableState<LocalTime>,
// Custom - Optional
setup: DialogTime.Setup = DialogTimeDefaults.setup(),
// Base Dialog - Optional
title: String? = null,
icon: (@Composable () -> Unit)? = null,
style: ComposeDialogStyle = DialogDefaults.defaultDialogStyle(),
buttons: DialogButtons = DialogDefaults.buttons(),
options: Options = Options(),
specialOptions: SpecialOptions = DialogDefaults.defaultTimeDialogSpecialOptions(),
onEvent: (event: DialogEvent) -> Unit = {}
) {