-
public final class ScrollAwayKt
-
-
Method Summary
Modifier and Type Method Description final static ModifierscrollAway(Modifier $self, ScalingLazyColumnState scalingLazyColumnState)Scroll an item vertically in/out of view based on a ScalingLazyListState. final static ModifierscrollAway(Modifier $self, Function0<ScrollableState> scrollableState)Scroll an item vertically in/out of view based on a ScrollState. -
-
Method Detail
-
scrollAway
final static Modifier scrollAway(Modifier $self, ScalingLazyColumnState scalingLazyColumnState)
Scroll an item vertically in/out of view based on a ScalingLazyListState. Typically used to scroll a TimeText item out of view as the user starts to scroll a ScalingLazyColumn of items upwards and bring additional items into view.
- Parameters:
scalingLazyColumnState- The list config.
-
scrollAway
final static Modifier scrollAway(Modifier $self, Function0<ScrollableState> scrollableState)
Scroll an item vertically in/out of view based on a ScrollState. Typically used to scroll a TimeText item out of view as the user starts to scroll a vertically scrollable Column of items upwards and bring additional items into view.
-
-
-
-