toPagerState

@JvmName(name = "toPagerStateVisible")
fun <Key : Any, PageItem> Pageable<Key, PageItem>.toPagerState(initialPage: Int = 0, @FloatRange(from = -0.5, to = 0.5) initialPageOffsetFraction: Float = 0.0f, coroutineContext: CoroutineContext = EmptyCoroutineContext, key: (PageItem) -> Any = ::pageItemKey): PageablePagerComposeState<PageItem>

Binds a Pageable to a Compose Pager (e.g., HorizontalPager or VerticalPager).

Each item in the pageable becomes a single pager page. Fetches are triggered as pages become visible.