Package-level declarations
Types
Link copied to clipboard
Represents the base style for a stepper component.
Link copied to clipboard
Represents a horizontal stepper style.
Link copied to clipboard
A data class for Step
Link copied to clipboard
data class StepComposable(val content: @Composable () -> Unit, val supportingContent: @Composable () -> Unit? = null)
A data class for Step
Link copied to clipboard
data class StepDefaults(val todoContainerColor: Color = Color.Gray, val todoContentColor: Color = Color.DarkGray, val currentContainerColor: Color = Color.Blue, val currentContentColor: Color = Color.White, val doneContainerColor: Color = Color.Green, val doneContentColor: Color = Color.White)
A data class for StepDefaults
Link copied to clipboard
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
Link copied to clipboard
Represents a vertical stepper style.
Functions
Link copied to clipboard
fun horizontalTab(totalSteps: Int, currentStep: Int, stepStyle: StepStyle = StepStyle()): HorizontalStepperStyle.Tab
Represents the style for a step in a stepper component.
Link copied to clipboard
fun iconHorizontal(currentStep: Int, icons: List<ImageVector>, stepStyle: StepStyle = StepStyle()): HorizontalStepperStyle.Icon
Represents the style for a step in a stepper component.
Link copied to clipboard
fun iconVertical(currentStep: Int, icons: List<ImageVector>, stepStyle: StepStyle = StepStyle()): VerticalStepperStyle.Icon
Represents the style for a step in a stepper component.
Link copied to clipboard
fun numberedHorizontal(totalSteps: Int, currentStep: Int, stepStyle: StepStyle = StepStyle()): HorizontalStepperStyle.Number
Represents the style for a step in a stepper component.
Link copied to clipboard
fun numberedVertical(totalSteps: Int, currentStep: Int, stepStyle: StepStyle = StepStyle()): VerticalStepperStyle.Number
Represents the style for a step in a stepper component.
Link copied to clipboard
fun verticalTab(totalSteps: Int, currentStep: Int, stepStyle: StepStyle = StepStyle()): VerticalStepperStyle.Tab
Represents the style for a step in a stepper component.