Skip to content
pubscout

flutter_full_pdf_viewer_null_safe

1.0.0, released 5 years ago by rohitsangwan.in

A Flutter plugin to display PDF files on Android and iOS.

WASM-ready
$ flutter pub add flutter_full_pdf_viewer_null_safe
Source repository

What it does

Shows PDF documents using native views on mobile platforms. Includes iOS WKWebView support and zoom functionality. Works on physical devices after proper Android release configuration.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a quick way to embed PDF viewing in a Flutter app without heavy dependencies.
  • You target Android and iOS and only require basic viewing capabilities.

Skip it when

  • You require advanced PDF features like annotation, editing, or form filling.
  • You need Web, desktop, or Linux support despite the platform list.

Strengths

  • Simple API and easy to add as a dependency
  • Supports both Android and iOS out of the box
  • Handles iOS deprecation by using WKWebView
  • Works on physical devices after Android release tweaks

Weaknesses

  • Limited to basic viewing; no advanced PDF manipulation
  • No explicit support for web/desktop despite platform declaration
  • Requires manual Android NDK filter configuration for release builds

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
0

Add NDK abiFilters (e.g., 'armeabi-v7a') and ProGuard settings in Android build.gradle as shown in the README. No extra permissions required beyond standard internet access.

import 'package:flutter_full_pdf_viewer_null_safe/full_pdf_viewer_scaffold.dart';

FullPdfViewerScaffold(
  path: 'assets/sample.pdf',
);

Alternatives

Packages that do the same job and could replace flutter_full_pdf_viewer_null_safe.