ProgressIndicatorDefaults

Contains the default values used for LinearProgressIndicator and CircularProgressIndicator.

Properties

Link copied to clipboard
@get:Composable
val circularColor: Color

Default color for a circular progress indicator.

Link copied to clipboard

Default stroke cap for a determinate circular progress indicator.

Link copied to clipboard
@get:Composable
val circularDeterminateTrackColor: Color

Default track color for a circular determinate progress indicator.

Link copied to clipboard

Default stroke cap for an indeterminate circular progress indicator.

Link copied to clipboard
@get:Composable
val circularIndeterminateTrackColor: Color

Default track color for a circular indeterminate progress indicator.

Link copied to clipboard

Default indicator track gap size for a circular progress indicator.

Link copied to clipboard

Default stroke width for a circular progress indicator.

Link copied to clipboard
@get:Composable
val circularTrackColor: Color

Default track color for a circular progress indicator.

Link copied to clipboard
@get:Composable
val linearColor: Color

Default color for a linear progress indicator.

Link copied to clipboard

Default indicator track gap size for a linear progress indicator.

Link copied to clipboard
val LinearStrokeCap: StrokeCap

Default stroke cap for a linear progress indicator.

Link copied to clipboard
@get:Composable
val linearTrackColor: Color

Default track color for a linear progress indicator.

Link copied to clipboard

Default track stop indicator size for a linear progress indicator.

Link copied to clipboard
val ProgressAnimationSpec: SpringSpec<Float>

The default AnimationSpec that should be used when animating between progress in a determinate progress indicator.

Functions

Link copied to clipboard
fun drawStopIndicator(drawScope: DrawScope, stopSize: Dp, color: Color, strokeCap: StrokeCap)

Draws the stop indicator at the end of the track.