ConfirmationDialogContent
Android
@Composable
public fun ConfirmationDialogContent(
curvedText: (CurvedScope.() -> Unit)?,
modifier: Modifier = Modifier,
colors: ConfirmationDialogColors = ConfirmationDialogDefaults.colors(),
content: @Composable () -> Unit,
): Unit
Parameters
| curvedText | A slot for displaying curved text content which will be shown along the bottom edge of the dialog. We recommend using confirmationDialogCurvedText for this parameter, which will give the default sweep angle and padding. |
| modifier | Modifier to be applied to the confirmation content. |
| colors | A ConfirmationDialogColors object for customizing the colors used in this ConfirmationDialog. |
| content | A slot for displaying an icon inside the confirmation dialog. It's recommended to set its size to ConfirmationDialogDefaults.IconSize |
ConfirmationDialogContent
Android
@Composable
public fun ConfirmationDialogContent(
text: @Composable (ColumnScope.() -> Unit)?,
modifier: Modifier = Modifier,
colors: ConfirmationDialogColors = ConfirmationDialogDefaults.colors(),
content: @Composable () -> Unit,
)
Parameters
| text | A slot for displaying text below the icon. It should not exceed 3 lines. |
| modifier | Modifier to be applied to the confirmation content. |
| colors | A ConfirmationDialogColors object for customizing the colors used in this ConfirmationDialog. |
| content | A slot for displaying an icon inside the confirmation dialog. It's recommended to set its size to ConfirmationDialogDefaults.IconSize |