LinearProgressIndicator

fun TileSchemaBuilderScope.LinearProgressIndicator(id: String = randomId(), events: EventSchemaBuilderScope.() -> Unit = {}, style: StyleSchemaBuilderScope.() -> Unit = {}, visibility: TileSchema.Visibility = visible(), searchableTerms: List<String>? = null, progress: Float? = null)

Renders a Material 3 linear progress indicator. When progress is null the indicator is indeterminate (endless sweep); when set, it is determinate and shows that fraction, where 0f is empty and 1f is complete. Colors, track and stroke cap 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).

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).