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

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

Added in 1.0.0-alpha28
val FullScreenPaddingDp

Padding used for displaying CircularProgressIndicator full screen.

IndeterminateStrokeWidth

Added in 1.0.0-alpha28
val IndeterminateStrokeWidthDp

Default stroke width for indeterminate CircularProgressIndicator.

StartAngle

Added in 1.0.0-alpha28
val StartAngleFloat

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

This can be customized with startAngle parameter on CircularProgressIndicator.

largeStrokeWidth

Added in 1.0.0-alpha28
val largeStrokeWidthDp

Large stroke width for circular progress indicator.

smallStrokeWidth

Added in 1.0.0-alpha28
val smallStrokeWidthDp

Small stroke width for circular progress indicator.