JengaKeyValueRowDefaults

Properties

Link copied to clipboard

Inner padding around the label and value.

Link copied to clipboard

Label text style.

Link copied to clipboard

Minimum row height; a clickable row is never shorter than the touch target.

Link copied to clipboard
const val ValueMaxWidthFraction: Float = 0.6f

Default share of the row width the value may take before it wraps or truncates.

Link copied to clipboard

Value text style.

Functions

Link copied to clipboard
fun colors(emphasis: JengaKeyValueEmphasis = JengaKeyValueEmphasis.Default, valueTone: JengaBadgeTone? = null): JengaKeyValueRowColors

Themed colors for emphasis; a non-null valueTone tints the value (e.g. success for "Paid").