Function

openOnPhoneDialogCurvedText

A customized variation of androidx.wear.compose.material3.curvedText that displays text along a curved path.

openOnPhoneDialogCurvedText

Source set: 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

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.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: