🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

DismissDirection

The directions in which a SwipeToDismiss can be dismissed.

Source set: Common
public enum class DismissDirection {
    /** Can be dismissed by swiping in the reading direction. */
    StartToEnd,

    /** Can be dismissed by swiping in the reverse of the reading direction. */
    EndToStart,
}

The directions in which a SwipeToDismiss can be dismissed.

Members

StartToEnd

Source set: Common
StartToEnd

Can be dismissed by swiping in the reading direction.

EndToStart

Source set: Common
EndToStart

Can be dismissed by swiping in the reverse of the reading direction.