Object

AlertDialogDefaults

Default values and styling for AlertDialog.

Source set: Android
public object AlertDialogDefaults

Default values and styling for AlertDialog.

Properties

containerContentPadding

Source set: Android
public val containerContentPadding: PaddingValues

Default padding between the dialog container and its content.

containerShape

Source set: Android
public val containerShape: Shape

Default shape for the dialog container.

containerColor

Source set: Android
public val containerColor: Color

Default background color for the dialog container.

Functions

containerContentColor

Source set: Android
@Composable
    public fun containerContentColor(containerColor: Color = GlimmerTheme.colors.surface): Color

Calculates the default content color for the AlertDialog container based on the provided containerColor.

Parameters

containerColor the color of the alert dialog container

Return

the calculated content color

Content updated: