Package-level declarations

Types

Link copied to clipboard
sealed interface ChildPlacement

How a node holds the children composed under it.

Link copied to clipboard
annotation class LayoutScopeMarker

Marks the receiver of a container's content, so the scopes of the containers around it are unavailable there: a child cannot declare a placement meant for a parent that does not place it.

Link copied to clipboard

A parent layout manager that interprets its children's ParentLayoutElements.

Link copied to clipboard

A parent-layout declaration that builds data its immediate parent registers for this component.

Link copied to clipboard

A declaration that the immediate parent interprets rather than a property of this component.

Link copied to clipboard

A parent declaration interpreted by the immediate parent's layout protocol.

Link copied to clipboard

The stateful side of a ParentLayoutNodeElement: kept for as long as an element of its slot's type stands, carrying state a plain declaration cannot.

Link copied to clipboard

A ParentLayoutElement backed by a stateful ParentLayoutNode rather than a plain value, mirroring androidx.compose.ui.node.ModifierNodeElement.

Link copied to clipboard
interface ParentProtocol

An opaque protocol identity for an immediate parent.

Link copied to clipboard

A parent declaration that installs a child through one of the host's dedicated slots.

Link copied to clipboard
fun interface SlotAttachment

An attachment to a host that holds children through a dedicated setter rather than Container.add.

Functions

Link copied to clipboard
fun parentProtocolOf(description: String, accepts: (Container) -> Boolean): ParentProtocol

Creates one stable ParentProtocol identity.