JengaInfoBarStyle

class JengaInfoBarStyle(val shape: Shape? = null, val minHeight: Dp? = null, val contentPadding: PaddingValues? = null, val textStyle: TextStyle? = null, val colors: JengaInfoBarColors? = null)(source)

Theme-wide style for every JengaInfoBar, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.infoBar. A null value keeps Jenga's default (shape and height follow the theme's medium button); arguments passed to a call still win.

Constructors

Link copied to clipboard
constructor(shape: Shape? = null, minHeight: Dp? = null, contentPadding: PaddingValues? = null, textStyle: TextStyle? = null, colors: JengaInfoBarColors? = null)

Properties

Link copied to clipboard

the color set.

Link copied to clipboard

padding inside the bar.

Link copied to clipboard

the minimum bar height.

Link copied to clipboard
val shape: Shape?

the bar shape.

Link copied to clipboard

the text style.

Functions

Link copied to clipboard
fun copy(shape: Shape? = this.shape, minHeight: Dp? = this.minHeight, contentPadding: PaddingValues? = this.contentPadding, textStyle: TextStyle? = this.textStyle, colors: JengaInfoBarColors? = this.colors): JengaInfoBarStyle