DialogDefaults

object DialogDefaults


Contains the default values used by Alert and Confirmation.

Summary

Public properties

Arrangement.Vertical

Creates the recommended vertical arrangement for Alert dialog content.

Arrangement.Vertical

Creates the recommended vertical arrangement for Confirmation dialog content.

PaddingValues

The padding to apply around the contents.

Long

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

Long

Long duration for showing Confirmation.

Long

Short duration for showing Confirmation.

Public properties

AlertVerticalArrangement

Added in 1.0.0
val AlertVerticalArrangement: Arrangement.Vertical

Creates the recommended vertical arrangement for Alert dialog content.

ConfirmationVerticalArrangement

Added in 1.0.0
val ConfirmationVerticalArrangement: Arrangement.Vertical

Creates the recommended vertical arrangement for Confirmation dialog content.

ContentPadding

Added in 1.0.0
val ContentPadding: PaddingValues

The padding to apply around the contents.

IndefiniteDurationMillis

Added in 1.0.0
val IndefiniteDurationMillis: Long

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

LongDurationMillis

Added in 1.0.0
val LongDurationMillis: Long

Long duration for showing Confirmation.

ShortDurationMillis

Added in 1.0.0
val ShortDurationMillis: Long

Short duration for showing Confirmation.