Start native apps faster with the Composables CLI ->
Function

horizontalScroll

Modify element to allow it to scroll horizontally when its content is larger than its constraints.

horizontalScroll

Source set: Android
public fun RemoteModifier.horizontalScroll(state: RemoteScrollState): RemoteModifier

Modify element to allow it to scroll horizontally when its content is larger than its constraints.

Parameters

state The RemoteScrollState that tracks and controls the scroll position. It can be created and remembered using rememberRemoteScrollState.

Return

The modified RemoteModifier.