Loading

constructor(labelText: String? = null, indicator: ProgressIndicator)

Display a success state.

Parameters

labelText

The text for a label that is displayed at the top of the state view


constructor(labelText: String? = null, indicator: ProgressIndicator, preView: @Composable () -> Unit? = null, postView: @Composable () -> Unit? = null)

Display a success state.

Parameters

labelText

The text for a label that is displayed at the top of the state view

preView

A custom composable view that is added above the indicator view

postView

A custom composable view that is added below the indicator view


constructor(customView: @Composable () -> Unit)

Display a loading state.

Parameters

customView

Use for a custom composable view instead of the default state view