Object

ScrollIndicatorDefaults

Contains the default values used for ScrollIndicator.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public object ScrollIndicatorDefaults

Contains the default values used for ScrollIndicator.

Functions

colors

@Composable
public fun colors(): ScrollIndicatorColors

Creates a ScrollIndicatorColors that represents the default colors used in a ScrollIndicator.


colors

@Composable
public fun colors(
    indicatorColor: Color = Color.Unspecified,
    trackColor: Color = Color.Unspecified,
): ScrollIndicatorColors

Creates a ScrollIndicatorColors with modified colors used in ScrollIndicator.

Parameters

indicatorColor The indicator color.
trackColor The track color.