Function

pointerHoverIcon

When present, this modifier defines how the pointer icon will be displayed when the spatial pointer hovers over an element.

pointerHoverIcon

Source set: Android
public fun SubspaceModifier.pointerHoverIcon(icon: SpatialPointerIcon): SubspaceModifier

When present, this modifier defines how the pointer icon will be displayed when the spatial pointer hovers over an element. Any child elements will inherit the pointer icon setting that this modifier defines for their parent element upon hovering.

Parameters

icon The SpatialPointerIcon to be displayed on hover.

Return

A SubspaceModifier that includes the hover icon behavior.

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: