JengaSelectionListItemStyle

class JengaSelectionListItemStyle(val minHeight: Dp? = null, val contentPadding: PaddingValues? = null, val contentSpacing: Dp? = null, val headlineStyle: TextStyle? = null, val supportingStyle: TextStyle? = null, val colors: JengaListItemColors? = null, val radioSize: Dp? = null, val checkboxShape: Shape? = null)(source)

Theme-wide style for every JengaRadioListItem and JengaCheckboxListItem, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.selectionListItem. A null value falls back to the theme's list item style, then to Jenga's default; arguments passed to a call still win.

Constructors

Link copied to clipboard
constructor(minHeight: Dp? = null, contentPadding: PaddingValues? = null, contentSpacing: Dp? = null, headlineStyle: TextStyle? = null, supportingStyle: TextStyle? = null, colors: JengaListItemColors? = null, radioSize: Dp? = null, checkboxShape: Shape? = null)

Properties

Link copied to clipboard

the checkbox box shape.

Link copied to clipboard

the row color set.

Link copied to clipboard

inner padding around the row content.

Link copied to clipboard

the gap between the control and the text.

Link copied to clipboard

the headline text style.

Link copied to clipboard

the minimum row height.

Link copied to clipboard

the diameter of the radio.

Link copied to clipboard

the supporting text style.

Functions

Link copied to clipboard
fun copy(minHeight: Dp? = this.minHeight, contentPadding: PaddingValues? = this.contentPadding, contentSpacing: Dp? = this.contentSpacing, headlineStyle: TextStyle? = this.headlineStyle, supportingStyle: TextStyle? = this.supportingStyle, colors: JengaListItemColors? = this.colors, radioSize: Dp? = this.radioSize, checkboxShape: Shape? = this.checkboxShape): JengaSelectionListItemStyle