Stylish Time Picker Dialog
A dialog hosting a StylishTimePicker, styled with the Stylish design language.
This is the Finish-layer wrapper around the Material 3 TimePickerDialog under the ExperimentalMaterial3Api opt-in. The dialog surface uses a RoundedCornerShape with StylishTheme.dimensions.connectedCornerRadius and the theme's surfaceContainerHigh color; like the M3 dialog it applies platform window insets itself, so no additional inset handling is needed. The confirmButton, dismissButton, modeToggleButton, and title slots are forwarded unchanged.
Parameters
Called when the user dismisses the dialog by clicking outside or pressing back.
The button that confirms the selection, typically a TextButton.
The dialog title, typically a Text or a slot wrapping one.
Modifier applied to the dialog content.
Platform-specific DialogProperties. Defaults to the M3 time-picker defaults (usePlatformDefaultWidth = false).
An optional toggle switching between clock and text input modes. When null, no toggle is shown.
The button that dismisses the dialog, typically a TextButton. When null, no dismiss button is shown.
The dialog surface shape. Defaults to RoundedCornerShape with StylishTheme.dimensions.connectedCornerRadius.
The dialog surface color. Defaults to MaterialTheme.colorScheme.surfaceContainerHigh.
The dialog body, typically a StylishTimePicker (or any TimePicker variant). Receives ColumnScope.