RemoteBox
Android
@RemoteComposable
@Composable
public fun RemoteBox(
modifier: RemoteModifier = RemoteModifier,
contentAlignment: RemoteAlignment = RemoteAlignment.TopStart,
content: @Composable () -> Unit,
)
A layout composable that positions its children relative to its own edges.
RemoteBox allows you to wrap multiple children and position them using contentAlignment. In Remote Compose, this layout is recorded as a Box command.
Parameters
| modifier | The modifier to be applied to this box. |
| contentAlignment | The default alignment inside the Box. |
| content | The content of the box. |
RemoteBox
Android
@RemoteComposable
@Composable
public fun RemoteBox(modifier: RemoteModifier = RemoteModifier)
A version of RemoteBox with no content, often used as a spacer or a background placeholder.
Parameters
| modifier | The modifier to be applied to this box. |