androidx.compose.material3.adaptive.layout

forEachSince 1.1Experimental

Function · from org.jetbrains.compose.material3.adaptive:adaptive-layout:1.3.0

No hand-written docs yet.

Perform actions on each PaneMotionData, in the left-to-right order of the panes in the scaffold.

ParametersExperimental

fun <Role : PaneScaffoldRole> PaneScaffoldMotionDataProvider<Role>.forEach(
    action: (Role, PaneMotionData) -> Unit,
)

action: (Role, PaneMotionData) -> UnitRequired

action to perform on each PaneMotionData.

Library docs

Perform actions on each PaneMotionData, in the left-to-right order of the panes in the scaffold.