Jenga Dialog Style
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
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