Skip to content
A fully functional on both platforms pdf viewer.
Dart Java Objective-C Ruby Swift Kotlin
Branch: master
Clone or download
vea
Latest commit 485b46e Mar 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android Revert "page logic" Mar 4, 2019
example removed unused code. Updated readme with installation guide. Works fo… Oct 3, 2018
ios Revert "page logic" Mar 4, 2019
lib Revert "page logic" Mar 4, 2019
.gitignore Revert "page logic" Mar 4, 2019
CHANGELOG.md new version Mar 4, 2019
LICENSE init Oct 3, 2018
README.md
flutter_full_pdf_viewer.iml init Oct 3, 2018
flutter_full_pdf_viewer_android.iml init Oct 3, 2018
pubspec.yaml new version Mar 4, 2019

README.md

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.4

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.

You can’t perform that action at this time.