Card
Spark card.
Cards contain content and actions that relate information about a subject. Filled cards provide subtle separation from the background. This has less emphasis than elevated or outlined cards.
Parameters
the Modifier to be applied to this card When false, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.
CardColors that will be used to resolve the colors used for this card in different states. See CardDefaults.cardColors
the border to draw around the container of this card
content of the card
Spark card.
Cards contain content and actions that relate information about a subject. Filled cards provide subtle separation from the background. This has less emphasis than elevated or outlined cards.
Parameters
commentCountcalled when this card is clicked
commentCountthe Modifier to be applied to this card
commentCountcontrols the enabled state of this card. When false, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.
commentCountCardColors that will be used to resolve the colors used for this card in different states. See CardDefaults.cardColors
commentCountthe border to draw around the container of this card
commentCountthe MutableInteractionSource representing the stream of Interactions for this card. You can create and pass in your own remembered instance to observe
commentCountcontent of the card