JengaListSheetStyle

class JengaListSheetStyle(val titleStyle: TextStyle? = null, val subtitleStyle: TextStyle? = null, val subtitleColor: Color? = null, val headerPadding: PaddingValues? = null, val contentPadding: PaddingValues? = null, val footerPadding: PaddingValues? = null, val footerSpacing: Dp? = null)(source)

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

Constructors

Link copied to clipboard
constructor(titleStyle: TextStyle? = null, subtitleStyle: TextStyle? = null, subtitleColor: Color? = null, headerPadding: PaddingValues? = null, contentPadding: PaddingValues? = null, footerPadding: PaddingValues? = null, footerSpacing: Dp? = null)

Properties

Link copied to clipboard

padding around the lazy body.

Link copied to clipboard

padding around the footer row.

Link copied to clipboard

the gap between footer children.

Link copied to clipboard

padding around the title, subtitle and header action.

Link copied to clipboard

the subtitle color.

Link copied to clipboard

the subtitle text style.

Link copied to clipboard

the title text style.

Functions

Link copied to clipboard
fun copy(titleStyle: TextStyle? = this.titleStyle, subtitleStyle: TextStyle? = this.subtitleStyle, subtitleColor: Color? = this.subtitleColor, headerPadding: PaddingValues? = this.headerPadding, contentPadding: PaddingValues? = this.contentPadding, footerPadding: PaddingValues? = this.footerPadding, footerSpacing: Dp? = this.footerSpacing): JengaListSheetStyle