Circular Progress Info

Circular Progress Info

The CircularProgressInfo helper model defines the appearance of ring-shaped progress indicators used within the Dynamic Island (both Small and Big areas). It controls the current value, colors, and direction of the progress fill.

Usage

1
2
3
4
5
6
val progressRing = CircularProgressInfo(
    progress = 75,              // 75% complete
    colorReach = "#34C759",     // Green filled part
    colorUnReach = "#333333",   // Dark grey background track
    isCCW = false               // Clockwise direction
)

Data Model (CircularProgressInfo)

ParameterTypeDescription
progressIntRequired. The current progress value (0-100).
colorReachString?Hex color string for the filled portion of the ring (the “reached” progress).
colorUnReachString?Hex color string for the unfilled background track (the “unreached” part).
isCCWBooleanDirection of the fill.
false: Counter-Clockwise (Default).
true: Clockwise.