RevealState

data class RevealState(val maxRevealDp: Dp = 75.dp, val directions: Set<RevealDirection>, density: Density, initialValue: RevealValue = RevealValue.Default)

Constructors

Link copied to clipboard
constructor(maxRevealDp: Dp = 75.dp, directions: Set<RevealDirection>, density: Density, initialValue: RevealValue = RevealValue.Default)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun RevealState.reset()

Reset the component to the default position, with an animation.

Link copied to clipboard
suspend fun RevealState.resetFast()

Reset the component to the default position, with an animation.