Scrollable2DDefaults

Contains the default values used by scrollable

Functions

Link copied to clipboard

Create and remember default FlingBehavior that will represent natural fling curve.

Link copied to clipboard

Create and remember default OverscrollEffect that will be used for showing over scroll effects.

Link copied to clipboard
fun reverseDirection(layoutDirection: LayoutDirection, orientation: Orientation, reverseScrolling: Boolean): Boolean

Used to determine the value of reverseDirection parameter of Modifier.scrollable in scrollable layouts.