Compose Modifier

indication

Draws visual effects for this component when interactions occur.

indication

Source set: Common
public fun Modifier.indication(
    interactionSource: InteractionSource,
    indication: Indication?,
): Modifier

Draws visual effects for this component when interactions occur.

Parameters

interactionSource InteractionSource that will be used by indication to draw visual effects - this InteractionSource represents the stream of Interactions for this component.
indication Indication used to draw visual effects. If null, no visual effects will be shown for this component.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: