Search packages, repositories and app categories

Package detailsv1.0.6

flutter_full_pdf_viewer

A flutter plugin to display PDF. This works for Android and for iOS.

30-day downloads
1K
Likes
132
Pub points
40

Install package

flutter pub add flutter_full_pdf_viewer

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter plugin designed to display PDF files within mobile applications, supporting both Android and iOS platforms. It provides a straightforward integration for rendering PDFs directly in the app interface without requiring external viewers. The package is lightweight and focuses on core functionality, making it ideal for apps that need to show documents, reports, or e-books. It leverages native rendering capabilities for smooth performance and compatibility with various PDF formats.

Use cases

  • Displaying user-generated documents
  • Showing e-books or manuals
  • Rendering invoices and receipts
  • Embedding PDFs in educational apps
  • Presenting legal or official documents

Key features

  • Cross-platform support (Android & iOS)
  • Simple integration with minimal setup
  • Native PDF rendering for better performance
  • Supports local and network-based PDF files
  • Lightweight and focused on core viewing

Suitable for

  • Apps needing basic PDF display
  • Educational or documentation-focused apps
  • Business apps handling reports
  • Mobile apps with document sharing features
  • Developers seeking a minimal PDF viewer

Considerations

  • No built-in PDF editing or annotation
  • Limited customization options for UI
  • Does not support PDF generation
  • Requires valid PDF file input
  • No advanced navigation controls like bookmarks

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

PDF viewer for flutter

Android and iOS working pdf viewer!

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  flutter_full_pdf_viewer: ^1.0.6
2. Install it

You can install packages from the command line:

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:flutter_full_pdf_viewer/flutter_full_pdf_viewer.dart';
import 'package:flutter_full_pdf_viewer/full_pdf_viewer_plugin.dart';
import 'package:flutter_full_pdf_viewer/full_pdf_viewer_scaffold.dart';
4. Informations for Release on Android

You have to follow first these steps: https://flutter.io/docs/deployment/android After that you have to add ndk filters to your release config:

    buildTypes {

        release {
            signingConfig signingConfigs.release
            minifyEnabled true
            useProguard true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

            ndk {
                abiFilters 'armeabi-v7a'
            }
        }

        debug {
            minifyEnabled false
            useProguard false
        }
    }

Now your release app should work.

Categories

Source repository

Projects using this package