overScrollOutOfBound

fun Modifier.overScrollOutOfBound(isVertical: Boolean = true, nestedScrollToParent: Boolean = true, scrollEasing: (distance: Float, range: Int) -> Float?, springStiff: Float = OutBoundSpringStiff, springDamp: Float = OutBoundSpringDamp, isEnabled: () -> Boolean = { platform() == Platform.Android || platform() == Platform.IOS }): Modifier

Overscroll effect when scrolling to the boundary.

Parameters

isVertical

Whether the overscroll effect is vertical or horizontal.

nestedScrollToParent

Whether to dispatch nested scroll events to parent.

scrollEasing

Easing function for overscroll effect, default is a parabolic easing.

springStiff

springStiff for overscroll effect,generally do not need to set.

springDamp

springDamp for overscroll effect,generally do not need to set.

isEnabled

Whether the overscroll effect is enabled. Default is enabled on Android and iOS only.