scrollArea

abstract fun scrollArea(state: ScrollState, content: Element, scrollRate: Int, modifier: Modifier, key: ElementKey<*>?): Element(source)

Creates one profile-backed scroll viewport around exactly one content root.

Return

an immutable retained-element description owned by the caller.

Parameters

content

exact caller-owned content root.

scrollRate

positive logical wheel displacement multiplier.

modifier

active behavior around the clipped viewport.

key

optional stable sibling identity.