Function

verticalScroll

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

verticalScroll

Source set: JvmAndAndroid
public fun RemoteModifier.verticalScroll(state: RemoteScrollState): RemoteModifier

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

Example of enabling vertical scrolling on a androidx.compose.remote.creation.compose.layout.RemoteColumn:

Parameters

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

Return

The modified RemoteModifier.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: