ProgressIndicatorColors
public class ProgressIndicatorColors
Represents the indicator and track colors used in a progress indicator Tiles component.
See DEFAULT_COLORS for the default colors used in a CircularProgressIndicator.
Summary
Public constructors |
|---|
Constructor for |
Constructor for |
Public methods |
|
|---|---|
@NonNull ColorBuilders.ColorProp |
The indicator color to be used for a progress indicator Tiles component. |
@NonNull ColorBuilders.ColorProp |
The background track color to be used for a progress indicator Tiles component. |
static @NonNull ProgressIndicatorColors |
Returns a |
Public constructors
publicProgressIndicatorColors(
@NonNull ColorBuilders.ColorProp indicatorColor,
@NonNull ColorBuilders.ColorProp trackColor
)
Constructor for ProgressIndicatorColors object.
| Parameters | |
|---|---|
@NonNull ColorBuilders.ColorProp indicatorColor |
The indicator color to be used for a progress indicator Tiles component. |
@NonNull ColorBuilders.ColorProp trackColor |
The background track color to be used for a progress indicator Tiles component. |
publicProgressIndicatorColors(
@ColorInt int indicatorColor,
@ColorInt int trackColor
)
Constructor for ProgressIndicatorColors object.
Public methods
public @NonNull ColorBuilders.ColorPropgetIndicatorColor()
The indicator color to be used for a progress indicator Tiles component.
public @NonNull ColorBuilders.ColorPropgetTrackColor()
The background track color to be used for a progress indicator Tiles component.
public static @NonNull ProgressIndicatorColorsprogressIndicatorColors(@NonNull Colors colors)
Returns a ProgressIndicatorColors object, using the current Primary color for indicator color and the current Surface color for the track color from the given Colors.