Jenga State Style
class JengaStateStyle(val titleStyle: TextStyle? = null, val descriptionStyle: TextStyle? = null, val contentPadding: PaddingValues? = null, val spacing: Dp? = null, val actionSpacing: Dp? = null, val actionSize: JengaButtonSize? = null, val colors: JengaStateColors? = null)(source)
Theme-wide style for every JengaEmptyState and JengaErrorState, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.state. A null value keeps Jenga's default; arguments passed to a call still win.
Constructors
Link copied to clipboard
constructor(titleStyle: TextStyle? = null, descriptionStyle: TextStyle? = null, contentPadding: PaddingValues? = null, spacing: Dp? = null, actionSpacing: Dp? = null, actionSize: JengaButtonSize? = null, colors: JengaStateColors? = null)
Properties
Link copied to clipboard
the action button size.
Link copied to clipboard
the gap above the action button; falls back to spacing.
Link copied to clipboard
the color set.
Link copied to clipboard
padding around the state.
Link copied to clipboard
the description text style.
Link copied to clipboard
the title text style.
Functions
Link copied to clipboard
fun copy(titleStyle: TextStyle? = this.titleStyle, descriptionStyle: TextStyle? = this.descriptionStyle, contentPadding: PaddingValues? = this.contentPadding, spacing: Dp? = this.spacing, actionSpacing: Dp? = this.actionSpacing, actionSize: JengaButtonSize? = this.actionSize, colors: JengaStateColors? = this.colors): JengaStateStyle