Object

CircularProgressIndicatorDefaults

Contains default values for CircularProgressIndicator.

Source set: Android
public object CircularProgressIndicatorDefaults

Contains default values for CircularProgressIndicator.

Properties

largeStrokeWidth

Source set: Android
public val largeStrokeWidth: Dp

Large stroke width for circular progress indicator.

smallStrokeWidth

Source set: Android
public val smallStrokeWidth: Dp

Small stroke width for circular progress indicator.

StartAngle

Source set: Android
public val StartAngle: Float = 270f

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
public val FullScreenPadding: Dp = PaddingDefaults.edgePadding

Padding used for displaying CircularProgressIndicator full screen.

IndeterminateStrokeWidth

Source set: Android
public val IndeterminateStrokeWidth: Dp = 3.dp

Default stroke width for indeterminate CircularProgressIndicator.

Functions

calculateRecommendedGapSize

Source set: Android
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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: