Jenga Card Style
class JengaCardStyle(val shape: Shape? = null, val contentPadding: PaddingValues? = null, val borderWidth: Dp? = null, val disabledAlpha: Float? = null, val elevated: JengaCardColors? = null, val outlined: JengaCardColors? = null, val filled: JengaCardColors? = null)(source)
Theme-wide style for every JengaCard, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.card. A null value keeps Jenga's default; arguments passed to a JengaCard call still win.
Constructors
Link copied to clipboard
constructor(shape: Shape? = null, contentPadding: PaddingValues? = null, borderWidth: Dp? = null, disabledAlpha: Float? = null, elevated: JengaCardColors? = null, outlined: JengaCardColors? = null, filled: JengaCardColors? = null)
Properties
Link copied to clipboard
width of the border.
Link copied to clipboard
inner padding.
Link copied to clipboard
opacity of a disabled card.
Link copied to clipboard
colors for JengaCardVariant.Elevated.
Link copied to clipboard
colors for JengaCardVariant.Filled.
Link copied to clipboard
colors for JengaCardVariant.Outlined.
Functions
Link copied to clipboard
fun copy(shape: Shape? = this.shape, contentPadding: PaddingValues? = this.contentPadding, borderWidth: Dp? = this.borderWidth, disabledAlpha: Float? = this.disabledAlpha, elevated: JengaCardColors? = this.elevated, outlined: JengaCardColors? = this.outlined, filled: JengaCardColors? = this.filled): JengaCardStyle