Skip to content
milan jurkulák edited this page May 2, 2024 · 1 revision

//tvlib/org.mjdev.tvlib.ui.components.card/Card

Card

[androidJvm]\

@Composable

fun Card(modifier: Modifier = Modifier, scale: CardScale = CardScale.None, onClick: () -> Unit? = null, onLongClick: () -> Unit? = null, shape: CardShape = CardDefaults.shape(), colors: CardColors = CardDefaults.colors(), border: CardBorder = CardDefaults.NO_BORDER, focusGlowColor: Color = Color.Green, unFocusGlowColor: Color = Color.Transparent, glow: CardGlow = CardDefaults.colorFocusGlow( focusGlowColor, unFocusGlowColor ), aspectRatio: Float? = 16f / 9f, interactionSource: MutableInteractionSource = rememberMutableInteractionSource(), content: @ComposableColumnScope.() -> Unit = {})

Clone this wiki locally