styleFullscreenDialog

fun styleFullscreenDialog(navigationIcon: @Composable () -> Unit? = { FullscreenDialogStyleDefaults.NavigationIcon() }, menuActions: @Composable RowScope.() -> Unit? = null, toolbarScrollBehaviour: TopAppBarScrollBehavior? = null, showIconBelowToolbar: Boolean = true, dismissOnBackPress: Boolean = true, toolbarColor: Color = FullscreenDialogStyleDefaults.toolbarColor, toolbarColorExpanded: Color = FullscreenDialogStyleDefaults.toolbarColorExpanded, toolbarActionColor: Color = FullscreenDialogStyleDefaults.toolbarActionColor, toolbarActionColorExpanded: Color = FullscreenDialogStyleDefaults.toolbarActionColorExpanded, toolbarContentColor: Color = FullscreenDialogStyleDefaults.toolbarContentColor, toolbarContentColorExpanded: Color = FullscreenDialogStyleDefaults.toolbarContentColorExpanded, iconColor: Color = FullscreenDialogStyleDefaults.iconColor, containerColor: Color = FullscreenDialogStyleDefaults.containerColor, contentColor: Color = FullscreenDialogStyleDefaults.contentColor, applyContentPadding: Boolean = true): ComposeDialogStyle

the setup of a dialog that shows as a normal dialog popup

Parameters

navigationIcon

the optional navigation icon, if not provided, a default close icon will be shown (use null to not show any navigation icon)

menuActions

if provided, it replaces the the default close menu action

toolbarScrollBehaviour

the optional scroll behaviour for the toolbar, if not provided, the toolbar will not react on scrolls

showIconBelowToolbar

if true, the icon will be shown below the toolbar, otherwise in the toolbar

dismissOnBackPress

if true, the dialog can be dismissed by a back press

toolbarColor

the Color of the toolbar

toolbarColorExpanded

the Color of the toolbar in expanded state (if a scroll behaviour is provided)

toolbarActionColor

the content Color of the toolbar actions

toolbarActionColorExpanded

the content Color of the toolbar actions in expanded state (if a scroll behaviour is provided)

toolbarContentColor

the content Color of the toolbar title and navigation icon

toolbarContentColorExpanded

the content Color of the toolbar title and navigation icon in expanded state (if a scroll behaviour is provided)

iconColor

the content Color of the icon (if shown below the toolbar)

containerColor

the Color of the container

contentColor

the content Color of the text

applyContentPadding

if true, the default content padding will be applied, otherwise the content will be shown edge to edge