ShelfWidgetRing
A progress ring in the widget's colour, at the mount's size (DroppyKit 1.23.0): System Stats' ring, 60pt alone and 42pt in a row, with an optional symbol in the middle.
@MainActor struct ShelfWidgetRing
Available from DroppyKit 1.23.0.
Initializers
init(progress:tint:systemImage:)
@MainActor init(progress: Double?, tint: Color, systemImage: String? = nil)
Creates the ring.
- Parameters:
- progress: 0 through 1, or
nilbefore the first reading. - tint: The widget's colour.
- systemImage: A symbol in the middle, or
nil.
Properties
body
@MainActor var body: some View { get }