Compose Multiplatform library to display PDF files.
Kotlin Build script
dependencies {
implementation("dev.zt64:compose-pdf:x.y.z")
}
Version catalog
[versions]
compose-pdf = "x.y.z"
[libraries]
compose-pdf = { module = "dev.zt64:compose-pdf", version.ref = "compose-pdf" }
val pdfState = rememberLocalPdfState(File("path/to/file.pdf"))
PdfColumn(pdfState)
- Unified local and remote pdf state
- Using Canvas instead of an Image to render