Android
public object OpenOnPhoneDialogDefaults
Contains the default values used by OpenOnPhoneDialog.
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. |