Nutrient Flutter SDK web PDF viewer
Nutrient Flutter SDK includes a PDF rendering engine that’s compatible with web apps. It enables developers to embed a configurable PDF viewer in web, iOS, or Android applications from a single codebase.
Key capabilities
- Customizable UI — Hide or add buttons and match your app design
- Client-side — Offloads processing to the client (no server needed)
- PDF and image — Open PDF, TIFF, PNG, and JPG files
- Accessible — Built-in assistive technology-friendly features
- Extendable — Add annotations, editing, and forms
PDF file type support
- TIFF (multipage)
- JPG
- PNG
Asset loading: CDN vs. self-hosted
By default, Nutrient Flutter SDK loads the Nutrient Web SDK assets from a CDN. To self-host the assets — for example, in air-gapped environments or to comply with content security policies — set useCDN to false in PdfWebConfiguration:
NutrientView( documentPath: 'path/to/document.pdf', configuration: PdfConfiguration( webConfiguration: PdfWebConfiguration( useCDN: false, ), ),)When useCDN is set to false, the SDK loads assets from local paths instead of the CDN. Setting baseUrl to a custom asset location overrides useCDN.
The useCDN option is also available in WebViewConfiguration for use with NutrientInstantView.
Start your free trial to test Nutrient Flutter SDK in your project.