ArcProgressIndicatorDefaults

object ArcProgressIndicatorDefaults


Contains default values for ArcProgressIndicator.

Summary

Constants

const Float

The default end angle in degrees for an indeterminate arc progress indicator

const Float

The default start angle in degrees for an indeterminate arc progress indicator

Public functions

Dp

Returns recommended size of the gap based on strokeWidth.

Public properties

Dp

Stroke width of the indeterminate arc progress indicator.

Dp

The recommended diameter of the indeterminate arc progress indicator, which leaves room for additional content such as a message above the indicator.

Constants

IndeterminateEndAngle

Added in 1.0.0-alpha28
const val IndeterminateEndAngle = 118.0f: Float

The default end angle in degrees for an indeterminate arc progress indicator

IndeterminateStartAngle

Added in 1.0.0-alpha28
const val IndeterminateStartAngle = 62.0f: Float

The default start angle in degrees for an indeterminate arc 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

IndeterminateStrokeWidth

Added in 1.0.0-alpha28
val IndeterminateStrokeWidthDp

Stroke width of the indeterminate arc progress indicator.

recommendedIndeterminateDiameter

Added in 1.0.0-alpha28
val recommendedIndeterminateDiameterDp

The recommended diameter of the indeterminate arc progress indicator, which leaves room for additional content such as a message above the indicator.