RemoteCollapsibleRowScope

@LayoutScopeMarker
class RemoteCollapsibleRowScope


Scope for the children of RemoteCollapsibleRow.

Summary

Public constructors

Public functions

RemoteModifier

Sets the collapsible priority of the child.

RemoteModifier

Sets the horizontal weight of the child.

RemoteModifier

Sets the horizontal weight of the child.

Public constructors

RemoteCollapsibleRowScope

Added in 1.0.0-alpha18
RemoteCollapsibleRowScope()

Public functions

RemoteModifier.collapsiblePriority

fun RemoteModifier.collapsiblePriority(priority: Float): RemoteModifier

Sets the collapsible priority of the child.

Priority determines the order in which children are hidden when space is limited. Higher priority items remain visible longer. Items with the same priority are hidden sequentially in reverse layout order (last child with same priority is hidden first).

Parameters
priority: Float

The priority of the child. Can be any float value; higher values are prioritized to remain visible longer.

fun RemoteModifier.weight(weight: Float): RemoteModifier

Sets the horizontal weight of the child.

Parameters
weight: Float

The weight of the child.

fun RemoteModifier.weight(weight: RemoteFloat): RemoteModifier

Sets the horizontal weight of the child.

Parameters
weight: RemoteFloat

The weight of the child.