🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

ScrollScope

Scope used for suspending scroll blocks

Source set: Common
public interface ScrollScope

Scope used for suspending scroll blocks

Functions

scrollBy

Source set: Common
public fun scrollBy(pixels: Float): Float

Attempts to scroll forward by pixels px.

Return

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