CircularProgressIndicator

fun TileSchemaBuilderScope.CircularProgressIndicator(id: String = randomId(), events: EventSchemaBuilderScope.() -> Unit = {}, style: StyleSchemaBuilderScope.() -> Unit = { size( width = fixedHorizontally(48), height = fixedVertically(48) ) }, visibility: TileSchema.Visibility = visible(), searchableTerms: List<String>? = null, progress: Float? = null)

Renders a Material 3 circular progress indicator. When progress is null the indicator is indeterminate (endless spinner); when set, it is determinate and shows that fraction, where 0f is empty and 1f is complete. Colors and stroke are Material defaults — only style is applied. Dispatches no triggers and is not clickable. Drive a determinate indicator by pushing new progress values with UpdateTiles.

Parameters

id

Unique identifier of the tile. Defaults to a random id.

events

Events owned by this tile. Never fired, since the tile dispatches no triggers.

style

Layout/appearance modifiers (size, padding, background, etc). Defaults to a fixed 48dp square.

visibility

Whether the tile is shown, hidden but occupies space, or removed from layout. Defaults to visible.

searchableTerms

Terms used by an ancestor's search/filter to decide whether this tile matches. Defaults to none.

progress

Determinate progress fraction, from 0f to 1f. Defaults to none (indeterminate).