JengaKeyValueRowStyle

class JengaKeyValueRowStyle(val minHeight: Dp? = null, val contentPadding: PaddingValues? = null, val labelStyle: TextStyle? = null, val valueStyle: TextStyle? = null)(source)

Theme-wide style for every JengaKeyValueRow, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.keyValueRow. A null value keeps Jenga's default; arguments passed to a call still win.

Constructors

Link copied to clipboard
constructor(minHeight: Dp? = null, contentPadding: PaddingValues? = null, labelStyle: TextStyle? = null, valueStyle: TextStyle? = null)

Properties

Link copied to clipboard

inner padding around the label and value.

Link copied to clipboard

the label text style (made bold for JengaKeyValueEmphasis.Total).

Link copied to clipboard

the minimum row height.

Link copied to clipboard

the value text style (made bold for JengaKeyValueEmphasis.Total).

Functions

Link copied to clipboard
fun copy(minHeight: Dp? = this.minHeight, contentPadding: PaddingValues? = this.contentPadding, labelStyle: TextStyle? = this.labelStyle, valueStyle: TextStyle? = this.valueStyle): JengaKeyValueRowStyle