Package-level declarations

Types

Link copied to clipboard

Represents the container and content colors used in a card in different states.

Link copied to clipboard
Link copied to clipboard

Represents the elevation for a card in different states.

Functions

Link copied to clipboard
fun Card(modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, colors: CardColors = CardDefaults.cardColors(), border: BorderStroke? = null, content: @Composable ColumnScope.() -> Unit)
fun Card(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, shape: Shape = SparkTheme.shapes.medium, colors: CardColors = CardDefaults.cardColors(), border: BorderStroke? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable ColumnScope.() -> Unit)

Spark card.

Link copied to clipboard
fun ElevatedCard(modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, colors: CardColors = CardDefaults.elevatedCardColors(), content: @Composable ColumnScope.() -> Unit)
fun ElevatedCard(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, shape: Shape = SparkTheme.shapes.medium, colors: CardColors = CardDefaults.elevatedCardColors(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable ColumnScope.() -> Unit)

Spark Elevated Card.

Link copied to clipboard
fun OutlinedCard(modifier: Modifier = Modifier, shape: Shape = SparkTheme.shapes.medium, colors: CardColors = CardDefaults.outlinedCardColors(), border: BorderStroke = CardDefaults.outlinedCardBorder(), content: @Composable ColumnScope.() -> Unit)
fun OutlinedCard(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, shape: Shape = SparkTheme.shapes.medium, colors: CardColors = CardDefaults.outlinedCardColors(), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable ColumnScope.() -> Unit)