Source set: Android
public object ActionCardDefaults
Default values used for ActionCard
Properties
contentPadding
Source set: Android
public val contentPadding: PaddingValues
Default content padding used for an ActionCard
This affects the outermost content padding applied around the content container. Note that there is additional padding applied around the content / text / icons inside an action card, this only represents the outer padding for the entire content.
shape
Source set: Android
public val shape: Shape
The default shape of ActionCard, which determines its corner radius.
color
Source set: Android
public val color: Color
The default background color of ActionCard.
Functions
contentColor
Source set: Android
@Composable
public fun contentColor(color: Color = ActionCardDefaults.color): Color
Calculates the default content color for an ActionCard based on the provided color.
Parameters
| color | the background color of the action card |
Return
the calculated content color