androidx.compose.foundation.gestures
ScrollableDefaults
Object · from org.jetbrains.compose.foundation:foundation:1.12.2
No hand-written docs yet.
Contains the default values used by scrollable
object ScrollableDefaults
Functions
flingBehavior
@Composable
fun flingBehavior(): FlingBehavior
Create and remember default FlingBehavior that will represent natural fling curve.
reverseDirection
fun reverseDirection(
layoutDirection: LayoutDirection,
orientation: Orientation,
reverseScrolling: Boolean,
): Boolean
Calculates the final reverseDirection value for a scrollable component.
Library docs
Contains the default values used by scrollable