StepStyle

data class StepStyle(val colors: StepDefaults = StepDefaults.defaultColors(), val stepSize: Dp = 36.dp, val stepShape: Shape = CircleShape, val textSize: TextUnit = 16.sp, val iconSize: Dp = 24.dp, val lineThickness: Dp = 6.dp, val lineSize: Dp = 20.dp, val stepPadding: Dp = 0.dp, val lineStyle: LineStyle = LineStyle.SOLID, val showCheckMarkOnDone: Boolean = true, val showStrokeOnCurrent: Boolean = true, val strokeCap: StrokeCap = StrokeCap.Square)

A data class for StepStyle

Parameters

colors

The colors of the steps

stepSize

The size of the step

stepShape

The shape of the step

textSize

The size of the text

iconSize

The size of the icon

lineThickness

The thickness of the line

lineSize

The size of the line

stepPadding

The padding of the step

lineStyle

The style of the line

showCheckMarkOnDone

Whether to show the check mark on done

showStrokeOnCurrent

Whether to show the stroke on current

strokeCap

The cap of the stroke

Constructors

Link copied to clipboard
constructor(colors: StepDefaults = StepDefaults.defaultColors(), stepSize: Dp = 36.dp, stepShape: Shape = CircleShape, textSize: TextUnit = 16.sp, iconSize: Dp = 24.dp, lineThickness: Dp = 6.dp, lineSize: Dp = 20.dp, stepPadding: Dp = 0.dp, lineStyle: LineStyle = LineStyle.SOLID, showCheckMarkOnDone: Boolean = true, showStrokeOnCurrent: Boolean = true, strokeCap: StrokeCap = StrokeCap.Square)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard