Package-level declarations

Types

Link copied to clipboard
class CardColors(val contentColor: Color = Color.Black, val containerColor: Color = Color.White, val disabledContentColor: Color = Color.DarkGray, val disabledContainerColor: Color = Color.LightGray)
Link copied to clipboard
class CardElevation(val tonalElevation: Dp = 0.dp, val shadowElevation: Dp = 0.dp, val pressedElevation: Dp = 0.dp, val focusedElevation: Dp = 0.dp, val hoveredElevation: Dp = 0.dp, val draggedElevation: Dp = 0.dp, val disabledElevation: Dp = 0.dp)
Link copied to clipboard
data class JchuSettingInfoCardColors(val containerColor: Color, val contentColor: Color, val disabledContainerColor: Color, val disabledContentColor: Color)

Theme-aware enabled and disabled colors for JchuSettingInfoCard.

Link copied to clipboard

Properties

Link copied to clipboard
const val CollapseAnimation: Int = 300
Link copied to clipboard
const val ExpandAnimation: Int = 300
Link copied to clipboard
const val FadeInAnimation: Int = 300
Link copied to clipboard
const val FadeOutAnimation: Int = 300

Functions

Link copied to clipboard
fun Card(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, border: BorderStroke? = null, shape: Shape = 10.cornerRadius(), colors: CardColors = CardColors(), elevation: CardElevation = CardElevation(), contentPadding: PaddingValues = PaddingValues(15.dp), verticalArrangement: Arrangement.Vertical = Arrangement.Top, horizontalAlignment: Alignment.Horizontal = Alignment.Start, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable ColumnScope.() -> Unit)
Link copied to clipboard
fun JchuSettingInfoCard(modifier: Modifier = Modifier, enabled: Boolean = true, onClick: () -> Unit? = null, shape: Shape = RoundedCornerShape(15.dp), colors: JchuSettingInfoCardColors = JchuSettingInfoCardDefaults.colors(), contentPadding: PaddingValues = PaddingValues(15.dp), contentSpacing: Dp = 15.dp, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically, content: @Composable RowScope.() -> Unit)

A settings-card container with optional click behavior and caller-owned content.