Skip to main content

pdf_view

Function pdf_view 

Source
pub fn pdf_view(url: impl Into<String>) -> Widget
Expand description

An in-app PDF viewer for the document at url (remote https URL or local file URI) — rendered natively per platform (PDFKit / PdfRenderer / <iframe>). The app just supplies the URL, e.g. a backend-generated report. Give it room (place in a sized container or a scroller).