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.