CircularProgressIndicatorDefaults

object CircularProgressIndicatorDefaults


Contains default values for CircularProgressIndicator.

Summary

Public functions

Dp

Returns recommended size of the gap based on strokeWidth.

Public properties

Dp

Padding used for displaying CircularProgressIndicator full screen.

Dp

Default stroke width for indeterminate CircularProgressIndicator.

Float

The default angle used for the start of the progress indicator arc.

Dp

Large stroke width for circular progress indicator.

Dp

Small stroke width for circular progress indicator.

Public functions

calculateRecommendedGapSize

Added in 1.6.0
fun calculateRecommendedGapSize(strokeWidth: Dp): Dp

Returns recommended size of the gap based on strokeWidth.

The absolute value can be customized with gapSize parameter on CircularProgressIndicator.

Public properties

FullScreenPadding

val FullScreenPadding: Dp

Padding used for displaying CircularProgressIndicator full screen.

IndeterminateStrokeWidth

val IndeterminateStrokeWidth: Dp

Default stroke width for indeterminate CircularProgressIndicator.

StartAngle

Added in 1.5.0
val StartAngle: Float

The default angle used for the start of the progress indicator arc.

This can be customized with startAngle parameter on CircularProgressIndicator.

largeStrokeWidth

val largeStrokeWidth: Dp

Large stroke width for circular progress indicator.

smallStrokeWidth

val smallStrokeWidth: Dp

Small stroke width for circular progress indicator.