ProgressStep

data class ProgressStep(val label: CharSequence, val enabled: Boolean, val icon: SparkIcon? = null, val doneIcon: SparkIcon = SparkIcons.Check)

Step in the ProgressTrackerRow&ProgressTrackerColumn component. Each step has a label and a enabled state.

Constructors

Link copied to clipboard
constructor(label: CharSequence, enabled: Boolean, icon: SparkIcon? = null, doneIcon: SparkIcon = SparkIcons.Check)

Properties

Link copied to clipboard

The icon displayed when an icon is considered as done by the user

Link copied to clipboard

Indicate whether the step is enabled or disabled. Disabled steps won't be interactive.

Link copied to clipboard
val icon: SparkIcon? = null

The icon displayed when an icon is no yet considered as done by the user.

Link copied to clipboard

The label of the step to be displayed in the progress tracker. AnnotatedStrings will be styled but other class inheriting from CharSequence will be displayed as plain text.