PdfPageIndicator

fun PdfPageIndicator(state: PdfViewState, modifier: Modifier = Modifier, textStyle: TextStyle = TextStyle.Default, format: (currentPage: Int, pageCount: Int) -> String = { c, t -> "${c + 1} / $t" })

"current / total" page readout. Recomposes as the user scrolls or swipes.

Parameters

format

full control over the text, e.g. { c, t -> "Page ${c + 1} of $t" }.