Android
public object LevelIndicatorDefaults
Contains the default values used for LevelIndicator.
Functions
colors
@Composable
public fun colors(): LevelIndicatorColors
Creates a LevelIndicatorColors that represents the default colors used in a LevelIndicator.
colors
@Composable
public fun colors(
indicatorColor: Color = Color.Unspecified,
trackColor: Color = Color.Unspecified,
disabledIndicatorColor: Color = Color.Unspecified,
disabledTrackColor: Color = Color.Unspecified,
): LevelIndicatorColors
Creates a LevelIndicatorColors with modified colors used in LevelIndicator.
Parameters
| indicatorColor | The indicator color. |
| trackColor | The track color. |
| disabledIndicatorColor | The disabled indicator color. |
| disabledTrackColor | The disabled track color. |