{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

ClipScrollableContainerKt

public final class ClipScrollableContainerKt


Summary

Public methods

static final @NonNull Modifier
clipScrollableContainer(
    @NonNull Modifier receiver,
    @NonNull Orientation orientation
)

Clips bounds of scrollable container on main axis while leaving space for background effects (like shadows) on cross axis.

Public methods

clipScrollableContainer

public static final @NonNull Modifier clipScrollableContainer(
    @NonNull Modifier receiver,
    @NonNull Orientation orientation
)

Clips bounds of scrollable container on main axis while leaving space for background effects (like shadows) on cross axis.

Parameters
@NonNull Orientation orientation

orientation of the scrolling