Object

CircularProgressIndicatorDefaults

Contains default values for CircularProgressIndicator.

Source set: Android

Added in 1.7.0-alpha01

public object CircularProgressIndicatorDefaults

Contains default values for CircularProgressIndicator.

Properties

largeStrokeWidth

Source set: Android

Added in 1.7.0-alpha01

public val largeStrokeWidth: Dp

Large stroke width for circular progress indicator.

smallStrokeWidth

Source set: Android

Added in 1.7.0-alpha01

public val smallStrokeWidth: Dp

Small stroke width for circular progress indicator.

StartAngle

Source set: Android

Added in 1.7.0-alpha01

public val StartAngle: Float

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

This can be customized with startAngle parameter on CircularProgressIndicator.

FullScreenPadding

Source set: Android

Added in 1.7.0-alpha01

public val FullScreenPadding: Dp

Padding used for displaying CircularProgressIndicator full screen.

IndeterminateStrokeWidth

Source set: Android

Added in 1.7.0-alpha01

public val IndeterminateStrokeWidth: Dp

Default stroke width for indeterminate CircularProgressIndicator.

Functions

calculateRecommendedGapSize

calculateRecommendedGapSize

Added in 1.7.0-alpha01

public 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.

Last updated: