custom

abstract fun custom(key: Any, content: @Composable () -> Unit)

Inserts arbitrary caller-owned content between two blocks, inside the page's own scrolling container — a banner, a promotion, a separator.

Such a section owns no data, so it never counts towards the page's failure or empty state.

Parameters

key

identity of this section, for the page's list. Distinguishes it from the sections around it; it does not have to be unique across the page.

content

what to draw.