Object

OpenOnPhoneDialogDefaults

Contains the default values used by OpenOnPhoneDialog.

Source set: Android
public object OpenOnPhoneDialogDefaults

Contains the default values used by OpenOnPhoneDialog.

Properties

curvedTextStyle

Source set: Android
public val curvedTextStyle: CurvedTextStyle

The default style for curved text content.

text

Source set: Android
public val text: String

The default message for an OpenOnPhoneDialog.

DurationMillis

Source set: Android
public val DurationMillis: Long

Default timeout for the OpenOnPhoneDialog dialog, in milliseconds.

Functions

Icon

@Composable
public fun Icon(modifier: Modifier = Modifier)

A default composable used in OpenOnPhoneDialog that displays an open on phone icon with an animation.

Parameters

modifier Modifier to be applied to the icon.

colors

@Composable
public fun colors(): OpenOnPhoneDialogColors

Creates a OpenOnPhoneDialogColors that represents the default colors used in OpenOnPhoneDialog.

colors

@Composable
public fun colors(
    iconColor: Color = Color.Unspecified,
    iconContainerColor: Color = Color.Unspecified,
    progressIndicatorColor: Color = Color.Unspecified,
    progressTrackColor: Color = Color.Unspecified,
    textColor: Color = Color.Unspecified,
): OpenOnPhoneDialogColors

Creates a OpenOnPhoneDialogColors with modified colors used in OpenOnPhoneDialog.

Parameters

iconColor The icon color.
iconContainerColor The icon container color.
progressIndicatorColor The progress indicator color.
progressTrackColor The progress track color.
textColor The text color.

Last updated: