SnapperFlingBehaviorDefaults

object SnapperFlingBehaviorDefaults

Default values used for SnapperFlingBehavior&rememberSnapperFlingBehavior.

Properties

Link copied to clipboard
val SnapIndex: (SnapperLayoutInfo, startIndex: Int, targetIndex: Int) -> Int

The default implementation for the snapIndex parameter of rememberSnapperFlingBehavior and SnapperFlingBehavior.

Link copied to clipboard
val SpringAnimationSpec: AnimationSpec<Float>

AnimationSpec used as the default value for the snapAnimationSpec parameter on rememberSnapperFlingBehavior and SnapperFlingBehavior.

Sources

Link copied to clipboard