rememberPopupPreviewerState

fun rememberPopupPreviewerState(@IntRange(from = 0) initialPage: Int = 0, pageCount: () -> Int): PopupPreviewerState

Compose中获取一个PopupPreviewerState的方式

Return

返回一个PopupPreviewerState

Parameters

initialPage

初始页码

pageCount

总页数