Google is committed to advancing racial equity for Black communities. See how.

ScrollScope

interface ScrollScope
androidx.compose.foundation.gestures.ScrollScope

Scope used for suspending scroll blocks

Summary

Public methods
abstract Float
scrollBy(pixels: Float)

Attempts to scroll forward by pixels px.

Public methods

scrollBy

abstract 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)