androidx.compose.material3

AlertDialogDefaults

Object

No hand-written docs yet.

Contains default values used for AlertDialog and BasicAlertDialog.

object AlertDialogDefaults

Properties

shape

@Composable val shape: Shape

The default shape for alert dialogs

IconSizeSince 1.11

val IconSize: Dp

The default icon size for alert dialogs.

containerColor

@Composable val containerColor: Color

The default container color for alert dialogs

iconContentColor

@Composable val iconContentColor: Color

The default icon color for alert dialogs

titleContentColor

@Composable val titleContentColor: Color

The default title color for alert dialogs

textContentColor

@Composable val textContentColor: Color

The default text color for alert dialogs

TonalElevation

val TonalElevation: Dp

The default tonal elevation for alert dialogs

Library docs

Contains default values used for AlertDialog and BasicAlertDialog.