ElevatedCard
Spark Elevated Card.
Elevated cards contain content and actions that relate information about a subject. They have a drop shadow, providing more separation from the background than filled cards, but less than outlined cards.
This ElevatedCard does not handle input events - see the other ElevatedCard overloads if you want a clickable or selectable ElevatedCard.
Parameters
the Modifier to be applied to this card
CardColors that will be used to resolve the color(s) used for this card in different states. See CardDefaults.elevatedCardColors.
content of the card
Spark Elevated Card.
Elevated cards contain content and actions that relate information about a subject. They have a drop shadow, providing more separation from the background than filled cards, but less than outlined cards.
This ElevatedCard does not handle input events - see the other ElevatedCard overloads if you want a clickable or selectable ElevatedCard.
Parameters
the Modifier to be applied to this card
called when this card is clicked
CardColors that will be used to resolve the color(s) used for this card in different states. See CardDefaults.elevatedCardColors.
controls 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.
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