ActionCardWithTitleSample
@Composable
fun ActionCardWithTitleSample() {
ActionCard(action = { Button(onClick = {}) { Text("Send") } }, title = { Text("Title") }) {
Text("This is a card with a title and action")
}
}ActionCard is a version of a card that contains a primary action that is placed in the center of the bottom edge of the card.
@Composable
fun ActionCardWithTitleSample() {
ActionCard(action = { Button(onClick = {}) { Text("Send") } }, title = { Text("Title") }) {
Text("This is a card with a title and action")
}
}Last updated: