Interface

RemoteModifier

An ordered, immutable collection of modifier elements for Remote Compose.

Source set: JvmAndAndroid
public sealed interface RemoteModifier

An ordered, immutable collection of modifier elements for Remote Compose.

RemoteModifier is the remote-first equivalent of androidx.compose.ui.Modifier. It is used to decorate or augment remote composables (e.g., adding padding, background, or click listeners).

Remote modifiers are designed to be encoded and evaluatable on a remote compose player.

Functions

then

Source set: JvmAndAndroid
public infix fun then(other: RemoteModifier): RemoteModifier

Concatenates this modifier with another.

Returns a RemoteModifier representing this modifier followed by other in sequence.

Parameters

other The RemoteModifier to append after this modifier.

Return

a RemoteModifier representing this modifier followed by other

Members

Companion

Source set: JvmAndAndroid
public companion object : RemoteModifier

The RemoteModifier companion object is the empty, default, or starter RemoteModifier that contains no elements. Use it to create a new RemoteModifier using modifier extension factory functions.

Example: RemoteModifier.padding(16.rdp).background(Color.Red.rc)

Functions

then

Source set: JvmAndAndroid
override infix fun then(other: RemoteModifier): RemoteModifier

toString

Source set: JvmAndAndroid
override fun toString(): String
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: