Common
object ProgressIndicatorDefaults
Contains the default values used for LinearProgressIndicator and CircularProgressIndicator.
Properties
Common
val StrokeWidth = 4.dp
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.
Common
const val IndicatorBackgroundOpacity = 0.24f
The default opacity applied to the indicator color to create the background color in a LinearProgressIndicator.
Common
val ProgressAnimationSpec =
SpringSpec(
dampingRatio = Spring.DampingRatioNoBouncy,
stiffness = Spring.StiffnessVeryLow,
visibilityThreshold = 1 / 1000f,
)
The default AnimationSpec that should be used when animating between progress in a determinate progress indicator.