JengaCircularProgressStyle

class JengaCircularProgressStyle(val size: Dp? = null, val strokeWidth: Dp? = null, val color: Color? = null, val trackColor: Color? = null)(source)

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

Constructors

Link copied to clipboard
constructor(size: Dp? = null, strokeWidth: Dp? = null, color: Color? = null, trackColor: Color? = null)

Properties

Link copied to clipboard
val color: Color?

the indicator color.

Link copied to clipboard
val size: Dp?

the diameter.

Link copied to clipboard

the ring stroke width.

Link copied to clipboard

the track color.

Functions

Link copied to clipboard
fun copy(size: Dp? = this.size, strokeWidth: Dp? = this.strokeWidth, color: Color? = this.color, trackColor: Color? = this.trackColor): JengaCircularProgressStyle