CardContainerDefaults
object CardContainerDefaults
Summary
Public functions |
|
|---|---|
CardContainerColors |
@ComposableCreates |
Public functions
contentColor
Added in 1.1.0
@Composable
fun contentColor(
contentColor: Color = MaterialTheme.colorScheme.onSurface,
focusedContentColor: Color = contentColor,
pressedContentColor: Color = focusedContentColor
): CardContainerColors
Creates CardContainerColors that represents the default content colors used in a CardContainer.
| Parameters | |
|---|---|
contentColor: Color = MaterialTheme.colorScheme.onSurface |
the default content color of this CardContainer. |
focusedContentColor: Color = contentColor |
the content color of this CardContainer when focused. |
pressedContentColor: Color = focusedContentColor |
the content color of this CardContainer when pressed. |