JengaDialogStyle

class JengaDialogStyle(val shape: Shape? = null, val contentPadding: PaddingValues? = null, val titleStyle: TextStyle? = null, val textStyle: TextStyle? = null, val actionSpacing: Dp? = null, val colors: JengaDialogColors? = null)(source)

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

Constructors

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

Properties

Link copied to clipboard

the gap between the actions.

Link copied to clipboard

the color set.

Link copied to clipboard

padding inside the dialog.

Link copied to clipboard
val shape: Shape?

the dialog shape.

Link copied to clipboard

the body text style.

Link copied to clipboard

the title text style.

Functions

Link copied to clipboard
fun copy(shape: Shape? = this.shape, contentPadding: PaddingValues? = this.contentPadding, titleStyle: TextStyle? = this.titleStyle, textStyle: TextStyle? = this.textStyle, actionSpacing: Dp? = this.actionSpacing, colors: JengaDialogColors? = this.colors): JengaDialogStyle