Source set: Android
public object AlertDialogDefaults
Default values and styling for AlertDialog.
Properties
contentPadding
Source set: Android
public val contentPadding: PaddingValues
Default content padding applied to the dialog content.
shape
Source set: Android
public val shape: Shape
Default shape for the dialog container.
containerColor
Source set: Android
public val containerColor: Color
Default background color for the dialog container.
Functions
contentColor
Source set: Android
@Composable
public fun contentColor(containerColor: Color = GlimmerTheme.colors.surface): Color
Calculates the default content color for an AlertDialog based on the provided containerColor.
Parameters
| containerColor | the color of the alert dialog container |
Return
the calculated content color