openOnPhoneDialogCurvedText

Function

Android
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

textThe text to display.
styleThe style to apply to the text. It is recommended to use OpenOnPhoneDialogDefaults.curvedTextStyle for curved text in OpenOnPhoneDialog.