API reference

DialogProgress Class

Progress state for a multi-step dialog.
Indicators are filled through DialogProgress.currentStep, so step one renders one filled indicator.

Signature

@Immutable data class DialogProgress(val currentStep: Int, val totalSteps: Int)

Constructors

DialogProgress ( currentStep , totalSteps )
Signature
constructor(currentStep: Int, totalSteps: Int)
Parameters
currentStep: Int  one-based index of the currently displayed step
totalSteps: Int  total number of steps in the flow
Returns
DialogProgress

Properties

currentStep : Int
[Get]
one-based index of the currently displayed step
Signature
val currentStep: Int
totalSteps : Int
[Get]
total number of steps in the flow
Signature
val totalSteps: Int