Object

DialogDefaults

Contains the default values used by Alert and Confirmation.

Source set: Android
public object DialogDefaults

Contains the default values used by Alert and Confirmation.

Properties

AlertVerticalArrangement

Source set: Android
public val AlertVerticalArrangement: Arrangement.Vertical

Creates the recommended vertical arrangement for Alert dialog content.

ConfirmationVerticalArrangement

Source set: Android
public val ConfirmationVerticalArrangement: Arrangement.Vertical

Creates the recommended vertical arrangement for Confirmation dialog content.

ContentPadding

Source set: Android
public val ContentPadding: PaddingValues

The padding to apply around the contents.

ShortDurationMillis

Source set: Android
public val ShortDurationMillis: Long

Short duration for showing Confirmation.

LongDurationMillis

Source set: Android
public val LongDurationMillis: Long

Long duration for showing Confirmation.

IndefiniteDurationMillis

Source set: Android
public val IndefiniteDurationMillis: Long

Show Confirmation indefinitely (supports swipe-to-dismiss).

Last updated: