Package-level declarations
Types
Link copied to clipboard
An Enum class for animation type of Flippable. It has these 4 states: HORIZONTAL_CLOCKWISE, HORIZONTAL_ANTI_CLOCKWISE, VERTICAL_CLOCKWISE, and VERTICAL_ANTI_CLOCKWISE
Link copied to clipboard
class FlippableController
A FlippableController which lets you control flipping programmatically.
Link copied to clipboard
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 = { _, -> })
Link copied to clipboard
Creates an instance of FlippableController and remembers it for recomposition.