JengaStepperStyle

class JengaStepperStyle(val shape: Shape? = null, val buttonShape: Shape? = null, val buttonSize: Dp? = null, val buttonElevation: Dp? = null, val trackPadding: Dp? = null, val valueMinWidth: Dp? = null, val textStyle: TextStyle? = null, val colors: JengaStepperColors? = null)(source)

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

Constructors

Link copied to clipboard
constructor(shape: Shape? = null, buttonShape: Shape? = null, buttonSize: Dp? = null, buttonElevation: Dp? = null, trackPadding: Dp? = null, valueMinWidth: Dp? = null, textStyle: TextStyle? = null, colors: JengaStepperColors? = null)

Properties

Link copied to clipboard

shadow under an enabled +/- button.

Link copied to clipboard

the +/- button shape.

Link copied to clipboard

the +/- button size.

Link copied to clipboard

the color set.

Link copied to clipboard
val shape: Shape?

the track shape.

Link copied to clipboard

the value text style.

Link copied to clipboard

padding inside the track, around the buttons.

Link copied to clipboard

minimum width of the value.

Functions

Link copied to clipboard
fun copy(shape: Shape? = this.shape, buttonShape: Shape? = this.buttonShape, buttonSize: Dp? = this.buttonSize, buttonElevation: Dp? = this.buttonElevation, trackPadding: Dp? = this.trackPadding, valueMinWidth: Dp? = this.valueMinWidth, textStyle: TextStyle? = this.textStyle, colors: JengaStepperColors? = this.colors): JengaStepperStyle