Skip to content

rackberg/flutter_pdf_renderer

Repository files navigation

flutter_pdf_renderer

Flutter Plugin to render a PDF file. Supports both Android and iOS.

Getting Started

In your flutter project add the dependency:

dependencies:
  ...
  flutter_pdf_renderer: any

For help getting started with Flutter, view the online documentation.

Usage example

Import flutter_pdf_renderer.dart

import 'package:flutter_pdf_renderer/flutter_pdf_renderer.dart';

Rendering PDF files on Android devices

Use the provided widget PdfRenderer in order to render a PDF file. This plugin uses the Android native PdfRenderer to render the pages of PDF files and provides a widget called PdfRenderer to display the PDF page you like.