Object

VerticalListDefaults

Contains the default values used by VerticalList.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
public object VerticalListDefaults

Contains the default values used by VerticalList.

Functions

flingBehavior

@Composable
public fun flingBehavior(state: ListState): FlingBehavior

Creates and remembers the default fling behavior for a VerticalList that aligns the focus position with list scroll.

Parameters

state The ListState to observe for layout and focus information.

Returns

A FlingBehavior instance that provides focus-aware snapping.