ScanbotModalDialog

fun ScanbotModalDialog(modifier: <Error class: unknown class> = Modifier, dialogAlignment: <Error class: unknown class> = Alignment.BottomCenter, dialogVisible: Boolean, lockState: Boolean = false, background: <Error class: unknown class> = paletteColor { sbColorSurface }, scrimColor: <Error class: unknown class> = paletteColor { sbColorModalOverlay }, contentColor: <Error class: unknown class> = paletteColor { sbColorOnSurface }, onDismissClick: () -> Unit, content: () -> Unit)

A modal dialog that can be shown on top of the content.

Parameters

modifier

The modifier to apply to this layout.

dialogAlignment

The alignment of the dialog.

dialogVisible

The state of the dialog visibility.

lockState

The state of the dialog lock.

background

The background color of the dialog.

scrimColor

The color of the scrim.

contentColor

The color of the content.

onDismissClick

The callback to be invoked when the dialog is dismissed.

content

The content of the dialog.