styleDialog
fun styleDialog(swipeDismissable: Boolean = false, dismissOnBackPress: Boolean = true, dismissOnClickOutside: Boolean = true, scrim: Boolean = true, options: StyleOptions = StyleOptions(), shape: Shape = DialogStyleDefaults.shape, containerColor: Color = DialogStyleDefaults.containerColor, iconColor: Color = DialogStyleDefaults.iconColor, titleColor: Color = DialogStyleDefaults.titleColor, contentColor: Color = DialogStyleDefaults.contentColor): ComposeDialogStyle
the setup of a dialog that shows as a normal dialog popup
Parameters
swipeDismissable
if true, the dialog can be swiped away by an up/down swipe
dismissOnBackPress
if true, the dialog can be dismissed by a back press
dismissOnClickOutside
if true, the dialog can be dismissed by clicking outside of its borders
scrim
if true, the dialog will a show a scrim behind it
options
provides custom style options of the dialog
shape
the Shape of the dialog
containerColor
the Color of the container
iconColor
the content Color of the icon
titleColor
the content Color of the title
contentColor
the content Color of the text