Jenga List Item Style
class JengaListItemStyle(val minHeight: Dp? = null, val contentPadding: PaddingValues? = null, val contentSpacing: Dp? = null, val headlineStyle: TextStyle? = null, val supportingStyle: TextStyle? = null, val colors: JengaListItemColors? = null)(source)
Theme-wide style for every JengaListItem, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.listItem. A null value keeps Jenga's default; arguments passed to a JengaListItem 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)
Properties
Link copied to clipboard
the color set.
Link copied to clipboard
inner padding around the row content.
Link copied to clipboard
the gap between the leading content, the text and the trailing content.
Link copied to clipboard
the headline text style.
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): JengaListItemStyle