androidx.compose.foundation

indication

Function · from org.jetbrains.compose.foundation:foundation:1.12.2

No hand-written docs yet.

Draws visual effects for this component when interactions occur.

Parameters

fun Modifier.indication(interactionSource: InteractionSource, indication: Indication?): Modifier

interactionSource: InteractionSourceRequired

InteractionSource that will be used by indication to draw visual effects - this InteractionSource represents the stream of Interactions for this component.

indication: Indication?Required

Indication used to draw visual effects. If null, no visual effects will be shown for this component.

Library docs

Draws visual effects for this component when interactions occur.