Interface

Scroll2DScope

Scope used for suspending scroll blocks

Source set: Common
public interface Scroll2DScope

Scope used for suspending scroll blocks

Functions

scrollBy

Source set: Common
public fun scrollBy(delta: Offset): Offset

Attempts to scroll forward by delta px.

Return

the amount of the requested scroll that was consumed (that is, how far it scrolled)

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: