Function

visibility

Sets the visibility of the element.

visibility

Source set: JvmAndAndroid
public fun RemoteModifier.visibility(visible: RemoteInt): RemoteModifier

Sets the visibility of the element.

Parameters

visible A RemoteInt indicating visibility (Component.Visibility.VISIBLE, INVISIBLE, or GONE).

Return

a RemoteModifier that sets visibility to visible

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: