🌈 Create new beautiful Compose Gradients with our new wesite ->
Property

centerItemScrollOffset

The offset of the item closest to the viewport center.

Source set: Android
public val centerItemScrollOffset: Int

The offset of the item closest to the viewport center. Depending on the ScalingLazyListAnchorType of the ScalingLazyColumn the offset will be relative to either the items Edge or Center.

A positive value indicates that the center item's anchor point is above the viewport center-line, a negative value indicates that the center item anchor point is below the viewport center-line.

Content updated: