-
-
Save nikit19/090551a6add6428a935f5af7c5dd7299 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
public fun ScalingLazyColumn( | |
modifier: Modifier = Modifier, | |
scalingParams: ScalingParams = ScalingLazyColumnDefaults.scalingParams(), | |
reverseLayout: Boolean = false, | |
verticalArrangement: Arrangement.Vertical = | |
Arrangement.spacedBy( | |
space = 4.dp, | |
alignment = if (!reverseLayout) Alignment.Top else Alignment.Bottom | |
), | |
horizontalAlignment: Alignment.Horizontal = Alignment.Start, | |
contentPadding: PaddingValues = PaddingValues(horizontal = 8.dp), | |
state: ScalingLazyListState = rememberScalingLazyListState(), | |
content: ScalingLazyListScope.() -> Unit | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment