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 AlertVerticalArrangementArrangement.Vertical

Creates the recommended vertical arrangement for Alert dialog content.

ConfirmationVerticalArrangement

Added in 1.0.0
val ConfirmationVerticalArrangementArrangement.Vertical

Creates the recommended vertical arrangement for Confirmation dialog content.

ContentPadding

Added in 1.0.0
val ContentPaddingPaddingValues

The padding to apply around the contents.

IndefiniteDurationMillis

Added in 1.0.0
val IndefiniteDurationMillisLong

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

LongDurationMillis

Added in 1.0.0
val LongDurationMillisLong

Long duration for showing Confirmation.

ShortDurationMillis

Added in 1.0.0
val ShortDurationMillisLong

Short duration for showing Confirmation.