Jenga Progress Style
class JengaProgressStyle(val trackHeight: Dp? = null, val shape: Shape? = null, val default: JengaProgressColors? = null, val success: JengaProgressColors? = null, val neutral: JengaProgressColors? = null, val labelStyle: TextStyle? = null, val labelSpacing: Dp? = null, val error: JengaProgressColors? = null)(source)
Theme-wide style for every JengaLinearProgress, JengaLabelledProgress and JengaLinearProgressIndeterminate, set through io.github.joelkanyi.jenga.theme.JengaComponentStyles.progress. A null value keeps Jenga's default; arguments passed to a call still win.
Constructors
Link copied to clipboard
constructor(trackHeight: Dp? = null, shape: Shape? = null, default: JengaProgressColors? = null, success: JengaProgressColors? = null, neutral: JengaProgressColors? = null, labelStyle: TextStyle? = null, labelSpacing: Dp? = null, error: JengaProgressColors? = null)
Properties
Link copied to clipboard
colors for JengaProgressTone.Default, also used by the indeterminate bar.
Link copied to clipboard
colors for JengaProgressTone.Error.
Link copied to clipboard
the gap between the label row and the bar.
Link copied to clipboard
the label text style of JengaLabelledProgress.
Link copied to clipboard
colors for JengaProgressTone.Neutral.
Link copied to clipboard
colors for JengaProgressTone.Success.
Link copied to clipboard
the track height.
Functions
Link copied to clipboard
fun copy(trackHeight: Dp? = this.trackHeight, shape: Shape? = this.shape, default: JengaProgressColors? = this.default, success: JengaProgressColors? = this.success, neutral: JengaProgressColors? = this.neutral, labelStyle: TextStyle? = this.labelStyle, labelSpacing: Dp? = this.labelSpacing, error: JengaProgressColors? = this.error): JengaProgressStyle