Function

forEach

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

forEach

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

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

Parameters

action action to perform on each PaneMotionData.