Start native apps faster with the Composables CLI ->
Class

SpatialDialogProperties

Properties for configuring a SpatialDialog.

Source set: Android
public class SpatialDialogProperties(
    @get:Suppress("GetterSetterNames") public val dismissOnBackPress: Boolean = true,
    @get:Suppress("GetterSetterNames") public val dismissOnClickOutside: Boolean = true,
    @get:Suppress("GetterSetterNames") public val usePlatformDefaultWidth: Boolean = true,
    public val backgroundContentAnimationSpec: FiniteAnimationSpec<Float> = spring(),
    public val elevation: Dp = SpatialElevationLevel.DialogDefault,
)

Properties for configuring a SpatialDialog.

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

toString

Source set: Android
override fun toString(): String

copy

Source set: Android
public fun copy(
        dismissOnBackPress: Boolean = this.dismissOnBackPress,
        dismissOnClickOutside: Boolean = this.dismissOnClickOutside,
        usePlatformDefaultWidth: Boolean = this.usePlatformDefaultWidth,
        restingLevelAnimationSpec: FiniteAnimationSpec<Float> = this.backgroundContentAnimationSpec,
        elevation: Dp = this.elevation,
    ): SpatialDialogProperties