PagerState

fun PagerState(@IntRange(from = 0.toLong()) currentPage: Int = 0)

Parameters

currentPage

the initial value for PagerState.currentPage