-card.md 2.1 KB

//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](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)? = 16f / 9f, interactionSource: [MutableInteractionSource](https://developer.android.com/reference/kotlin/androidx/compose/foundation/interaction/MutableInteractionSource.html) = rememberMutableInteractionSource(), content: @[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)[ColumnScope](https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/ColumnScope.html).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) = {})