-
-
Save saqib-github-commits/cbae8c9c4ecf567e3796c9c56e3a7f80 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
fun HorizontalPager( | |
pageCount: Int, | |
modifier: Modifier = Modifier, | |
state: PagerState = rememberPagerState(), | |
contentPadding: PaddingValues = PaddingValues(0.dp), | |
pageSize: PageSize = PageSize.Fill, | |
beyondBoundsPageCount: Int = 0, | |
pageSpacing: Dp = 0.dp, | |
verticalAlignment: Alignment.Vertical = Alignment.CenterVertically, | |
flingBehavior: SnapFlingBehavior = PagerDefaults.flingBehavior(state = state), | |
userScrollEnabled: Boolean = true, | |
reverseLayout: Boolean = false, | |
key: ((index: Int) -> Any)? = null, | |
pageNestedScrollConnection: NestedScrollConnection = PagerDefaults.pageNestedScrollConnection( | |
Orientation.Horizontal | |
), | |
pageContent: @Composable (page: Int) -> Unit | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment