<h2 id="confirmationdialogcurvedtext-text-style">confirmationDialogCurvedText</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun CurvedScope.confirmationDialogCurvedText(text: String, style: CurvedTextStyle): Unit
```

A customized variation of [androidx.wear.compose.material3.curvedText] that displays text along a
curved path. This variation adopts suitable sweep angle and padding for use in
[ConfirmationDialog](/jetpack-compose/androidx.wear.compose/compose-material3/components/ConfirmationDialog)s.

#### Parameters

| | |
| --- | --- |
| text | The text to display. |
| style | It is recommended to use [ConfirmationDialogDefaults.curvedTextStyle] for curved text in Confirmation Dialogs. |