ProgressIndicatorDefaults


Contains the default values used for LinearProgressIndicator and CircularProgressIndicator.

Summary

Constants

const Float

The default opacity applied to the indicator color to create the background color in a LinearProgressIndicator.

Cmn

Public properties

SpringSpec<Float>

The default AnimationSpec that should be used when animating between progress in a determinate progress indicator.

Cmn
Dp

Default stroke width for CircularProgressIndicator, and default height for LinearProgressIndicator.

Cmn

Constants

IndicatorBackgroundOpacity

const val IndicatorBackgroundOpacity = 0.24f: Float

The default opacity applied to the indicator color to create the background color in a LinearProgressIndicator.

Public properties

ProgressAnimationSpec

val ProgressAnimationSpecSpringSpec<Float>

The default AnimationSpec that should be used when animating between progress in a determinate progress indicator.

StrokeWidth

val StrokeWidthDp

Default stroke width for CircularProgressIndicator, and default height for LinearProgressIndicator.

This can be customized with the strokeWidth parameter on CircularProgressIndicator, and by passing a layout modifier setting the height for LinearProgressIndicator.