Card
fun Card(onClick: () -> Unit, modifier: Modifier = Modifier, onLongClick: () -> Unit? = null, backgroundPainter: Painter = CardDefaults.cardBackgroundPainter(), contentColor: Color = MaterialTheme.colors.onSurfaceVariant, enabled: Boolean = true, contentPadding: PaddingValues = CardDefaults.ContentPadding, shape: Shape = MaterialTheme.shapes.large, role: Role? = null, content: @Composable () -> Unit)
This component is an alternative to Card, adding support for long and double-clicks.