-
public final class SwipeableChannelItemKt
-
-
Method Summary
-
-
Method Detail
-
SwipeableChannelItem
@Composable() final static Unit SwipeableChannelItem(String channelCid, Modifier modifier, Boolean enabled, Color backgroundColor, Function0<Unit> swipeActions, Function0<Unit> content)
A wrapper that adds swipe-to-reveal actions behind channel list item content.
Uses AnchoredDraggableState to provide smooth swipe interaction with snap-to anchors. Supports RTL layouts and coordinates with SwipeRevealCoordinator for single-open behavior.
- Parameters:
channelCid- The channel CID used for coordinator registration.modifier- Modifier for styling.enabled- Whether swiping is enabled.backgroundColor- Opaque background for the foreground layer, hiding actions when closed.swipeActions- Composable content for the action buttons revealed by swiping.content- The channel item content displayed on top.
-
-
-
-