Custom

data class Custom(val content: @Composable BoxScope.() -> Unit) : CircularMeterContent(source)

Display fully custom content centred in the ring. Callers are responsible for attaching any required semantics (e.g. Modifier.semantics { contentDescription = "…" }) inside the content block.

Parameters

content

The composable content to render.

Constructors

Link copied to clipboard
constructor(content: @Composable BoxScope.() -> Unit)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun Content(value: Float, modifier: Modifier = Modifier)