Compose Modifier

toolingGraphicsLayer

A [Modifier.

toolingGraphicsLayer

Common
fun Modifier.toolingGraphicsLayer() =
    if (isDebugInspectorInfoEnabled) this.then(Modifier.graphicsLayer()) else this

A Modifier.Element that adds a draw layer such that tooling can identify an element in the drawn image.