ArcProgressIndicatorDefaults

object ArcProgressIndicatorDefaults


Contains default values for ArcProgressIndicator.

Summary

Public functions

Dp

Returns recommended size of the gap based on strokeWidth.

Public properties

Float

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

Float

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

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.

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

IndeterminateEndAngle

Added in 1.0.0-alpha31
val IndeterminateEndAngleFloat

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

IndeterminateStartAngle

Added in 1.0.0-alpha31
val IndeterminateStartAngleFloat

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

IndeterminateStrokeWidth

Added in 1.0.0-alpha31
val IndeterminateStrokeWidthDp

Stroke width of the indeterminate arc progress indicator.

recommendedIndeterminateDiameter

Added in 1.0.0-alpha31
val recommendedIndeterminateDiameterDp

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