Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

A FlippableController which lets you control flipping programmatically.

Link copied to clipboard

An Enum class to keep the state of side of Flippable like FRONT or BACK

Functions

Link copied to clipboard
fun Flippable(frontSide: @Composable () -> Unit, backSide: @Composable () -> Unit, flipController: FlippableController, modifier: Modifier = Modifier, contentAlignment: Alignment = Alignment.Center, flipDurationMs: Int = 400, flipOnTouch: Boolean = true, flipEnabled: Boolean = true, autoFlip: Boolean = false, autoFlipDurationMs: Int = 1000, cameraDistance: Float = 30.0f, flipAnimationType: FlipAnimationType = FlipAnimationType.HORIZONTAL_CLOCKWISE, onFlippedListener: (currentSide: FlippableState) -> Unit = { _, -> })

A composable which creates a card-like flip view for frontSide and backSide composables.

Link copied to clipboard

Creates an instance of FlippableController and remembers it for recomposition.