OpenOnPhoneDialogDefaults

object OpenOnPhoneDialogDefaults

Contains the default values used by OpenOnPhoneDialog.

Summary

Public functions

Unit

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

OpenOnPhoneDialogColors

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

OpenOnPhoneDialogColors
@Composable
colors(
    iconColor: Color,
    iconContainerColor: Color,
    progressIndicatorColor: Color,
    progressTrackColor: Color,
    textColor: Color
)

Creates a OpenOnPhoneDialogColors with modified colors used in OpenOnPhoneDialog.

Public properties

Long

Default timeout for the OpenOnPhoneDialog dialog, in milliseconds.

CurvedTextStyle

The default style for curved text content.

String

The default message for an OpenOnPhoneDialog.

Public functions

Icon

Added in 1.5.0-beta03
@Composable
fun Icon(modifier: Modifier = Modifier): Unit

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

Parameters
modifier: Modifier = Modifier

Modifier to be applied to the icon.

colors

Added in 1.5.0-beta03
@Composable
fun colors(): OpenOnPhoneDialogColors

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

colors

@Composable
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: Color = Color.Unspecified

The icon color.

iconContainerColor: Color = Color.Unspecified

The icon container color.

progressIndicatorColor: Color = Color.Unspecified

The progress indicator color.

progressTrackColor: Color = Color.Unspecified

The progress track color.

textColor: Color = Color.Unspecified

The text color.

Public properties

DurationMillis

Added in 1.5.0-beta03
val DurationMillisLong

Default timeout for the OpenOnPhoneDialog dialog, in milliseconds.

curvedTextStyle

Added in 1.5.0-beta03
val curvedTextStyleCurvedTextStyle

The default style for curved text content.

text

Added in 1.5.0-beta03
val textString

The default message for an OpenOnPhoneDialog.