JengaTopAppBarStyle

class JengaTopAppBarStyle(val height: Dp? = null, val contentPadding: PaddingValues? = null, val titleStyle: TextStyle? = null, val colors: JengaTopAppBarColors? = null)(source)

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

Constructors

Link copied to clipboard
constructor(height: Dp? = null, contentPadding: PaddingValues? = null, titleStyle: TextStyle? = null, colors: JengaTopAppBarColors? = null)

Properties

Link copied to clipboard

the color set.

Link copied to clipboard

padding inside the bar.

Link copied to clipboard
val height: Dp?

the minimum bar height, excluding the status-bar inset.

Link copied to clipboard

the title text style of the text overload.

Functions

Link copied to clipboard
fun copy(height: Dp? = this.height, contentPadding: PaddingValues? = this.contentPadding, titleStyle: TextStyle? = this.titleStyle, colors: JengaTopAppBarColors? = this.colors): JengaTopAppBarStyle