---
title: "openOnPhoneDialogCurvedText"
description: "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
[OpenOnPhoneDialog]."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-android'>Android</div>


```kotlin
public fun CurvedScope.openOnPhoneDialogCurvedText(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
`OpenOnPhoneDialog`.

#### Parameters

| | |
| --- | --- |
| text | The text to display. |
| style | The style to apply to the text. It is recommended to use `OpenOnPhoneDialogDefaults.curvedTextStyle` for curved text in `OpenOnPhoneDialog`. |




