🌈 Create new beautiful Compose Gradients with our new wesite ->
Object

RemoteProgressIndicatorDefaults

Contains defaults for Remote Progress Indicators.

Source set: Android
public object RemoteProgressIndicatorDefaults

Contains defaults for Remote Progress Indicators.

Properties

IndeterminateStrokeWidth

Source set: Android
public val IndeterminateStrokeWidth: RemoteDp = 3.rdp

Default stroke width for indeterminate RemoteCircularProgressIndicator.

CurvedIndicatorStartAngle

Source set: Android
public val CurvedIndicatorStartAngle: RemoteFloat = 135f.rf

Default start angle for RemoteCurvedProgressIndicator.

CurvedIndicatorSweepAngle

Source set: Android
public val CurvedIndicatorSweepAngle: RemoteFloat = 90f.rf

Default sweep angle for RemoteCurvedProgressIndicator.

CurvedIndicatorStrokeWidth

Source set: Android
public val CurvedIndicatorStrokeWidth: RemoteDp = 8.rdp

Default stroke width for RemoteCurvedProgressIndicator.

CurvedIndicatorPadding

Source set: Android
public val CurvedIndicatorPadding: RemoteDp = 2.rdp

Default padding from edge for RemoteCurvedProgressIndicator.

CurvedIndicatorGapAngleDegrees

Source set: Android
public val CurvedIndicatorGapAngleDegrees: RemoteFloat = 2f.rf

Default gap angle in degrees for RemoteCurvedProgressIndicator.

CurvedIndicatorDotCollapseFreezeFraction

Source set: Android
public val CurvedIndicatorDotCollapseFreezeFraction: RemoteFloat = 0f.rf

Default dot collapse freeze fraction for RemoteCurvedProgressIndicator.

AnimationDurationMillis

Source set: Android
public const val AnimationDurationMillis: Int = 125

Default animation duration in milliseconds for progress indicators.

Functions

colors

Source set: Android
@Composable
    public fun colors(): RemoteProgressIndicatorColors

Creates a RemoteProgressIndicatorColors with the default colors.

calculateRecommendedGapSize

Source set: Android
public fun calculateRecommendedGapSize(strokeWidth: RemoteDp): RemoteDp

Returns recommended size of the gap based on strokeWidth.

colors

Source set: Android
@Composable
    public fun colors(
        indicatorColor: RemoteColor? = null,
        trackColor: RemoteColor? = null,
        overflowTrackColor: RemoteColor? = null,
        disabledIndicatorColor: RemoteColor? = null,
        disabledTrackColor: RemoteColor? = null,
        disabledOverflowTrackColor: RemoteColor? = null,
    ): RemoteProgressIndicatorColors

Creates a RemoteProgressIndicatorColors with modified colors.

colors

Source set: Android
@Composable
    public fun colors(
        indicatorBrush: RemoteBrush? = null,
        trackBrush: RemoteBrush? = null,
        overflowTrackBrush: RemoteBrush? = null,
        disabledIndicatorBrush: RemoteBrush? = null,
        disabledTrackBrush: RemoteBrush? = null,
        disabledOverflowTrackBrush: RemoteBrush? = null,
    ): RemoteProgressIndicatorColors

Creates a RemoteProgressIndicatorColors with modified brushes.

Content updated: