State of Compose 2023 results are in! Click here to learn more

← Back to Glance AppWidget

CircularProgressIndicator

Component
in
Glance AppWidget
. Since 1.0.0

Overview

Code Examples

Video

Adds a circular progress indicator view to the glance view.

@param modifier the modifier to apply to the progress bar @param color The color of the progress indicator.

Overloads

CircularProgressIndicator

@Composable
fun CircularProgressIndicator(
    modifier: GlanceModifier = GlanceModifier,
    color: ColorProvider = ProgressIndicatorDefaults.IndicatorColorProvider,
)

Parameters

NameDescription
modifierthe modifier to apply to the progress bar
colorThe color of the progress indicator