<div class='sourceset sourceset-android'>Android</div>

> **Deprecated** Was moved to androidx.wear.compose.foundation.lazy package. Please use it instead

<h2 id="scalinglazycolumn-modifier-state-contentpadding-reverselayout-verticalarrangement-horizontalalignment-flingbehavior-userscrollenabled-scalingparams-anchortype-autocentering-content">ScalingLazyColumn</h2>

```kotlin
@Composable
public fun ScalingLazyColumn(
    modifier: Modifier = Modifier,
    state: ScalingLazyListState = rememberScalingLazyListState(),
    contentPadding: PaddingValues = PaddingValues(horizontal = 10.dp),
    reverseLayout: Boolean = false,
    verticalArrangement: Arrangement.Vertical =
        Arrangement.spacedBy(
            space = 4.dp,
            alignment = if (!reverseLayout) Alignment.Top else Alignment.Bottom,
        ),
    horizontalAlignment: Alignment.Horizontal = Alignment.CenterHorizontally,
    flingBehavior: FlingBehavior = ScrollableDefaults.flingBehavior(),
    userScrollEnabled: Boolean = true,
    scalingParams: ScalingParams = ScalingLazyColumnDefaults.scalingParams(),
    anchorType: ScalingLazyListAnchorType = ScalingLazyListAnchorType.ItemCenter,
    autoCentering: AutoCenteringParams? = AutoCenteringParams(),
    content: ScalingLazyListScope.() -> Unit,
)
```

#### Parameters

| | |
| --- | --- |
| modifier | The modifier to be applied to the component |
| state | The state of the component |
| contentPadding | The padding to apply around the contents |
| reverseLayout | reverse the direction of scrolling and layout, when `true` items will be composed from the bottom to the top |
| verticalArrangement | The vertical arrangement of the layout's children. This allows us to add spacing between items and specify the arrangement of the items when we have not enough of them to fill the whole minimum size |
| horizontalAlignment | the horizontal alignment applied to the items |
| flingBehavior | Logic describing fling behavior. If snapping is required use [ScalingLazyColumnDefaults.snapFlingBehavior]. |
| userScrollEnabled | whether the scrolling via the user gestures or accessibility actions is allowed. You can still scroll programmatically using the state even when it is disabled. |
| scalingParams | The parameters to configure the scaling and transparency effects for the component |
| anchorType | How to anchor list items to the center-line of the viewport |
| autoCentering | AutoCenteringParams parameter to control whether space/padding should be automatically added to make sure that list items can be scrolled into the center of the viewport (based on their [anchorType](/jetpack-compose/androidx.wear.compose/compose-foundation/classes/AnchorType)). If non-null then space will be added before the first list item, if needed, to ensure that items with indexes greater than or equal to the itemIndex (offset by itemOffset pixels) will be able to be scrolled to the center of the viewport. Similarly space will be added at the end of the list to ensure that items can be scrolled up to the center. If null no automatic space will be added and instead the developer can use `contentPadding` to manually arrange the items. |