Object

RemoteProgressIndicatorDefaults

Contains defaults for Remote Progress Indicators.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public object RemoteProgressIndicatorDefaults

Contains defaults for Remote Progress Indicators.

Functions

colors

@Composable
@RemoteComposable
public fun colors(): RemoteProgressIndicatorColors

Creates a RemoteProgressIndicatorColors with the default colors.


calculateRecommendedGapSize

public fun calculateRecommendedGapSize(strokeWidth: RemoteDp): RemoteDp

Returns recommended size of the gap based on strokeWidth.


colors

@Composable
@RemoteComposable
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

@Composable
@RemoteComposable
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.