PDF viewer for flutter

Android and iOS working pdf viewer!

Use this package as a library

Security

  • Password protected pdf.

1. Depend on it

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

dependencies:
  flutter_pdf_viewer_plugin: ^1.0.0

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_pdf_viewer_plugin/pdf_viewer_plugin.dart';
import 'package:flutter_pdf_viewer_plugin/pdf_viewer.dart';
import 'package:flutter_pdf_viewer_plugin/pdf_viewer_scaffold.dart';

4. Informations for Release on Android

You have to follow first these steps: https://flutter.io/docs/deployment/android

Libraries

flutter_full_pdf_viewer
pdf_viewer_plugin
pdf_viewer_scaffold

Dart

dart:ui
Built-in types and core primitives for a Flutter application. [...]

Core

dart:async
Support for asynchronous programming, with classes such as Future and Stream. [...]
dart:collection
Classes and utilities that supplement the collection support in dart:core. [...]
dart:convert
Encoders and decoders for converting between different data representations, including JSON and UTF-8. [...]
dart:core
Built-in types, collections, and other core functionality for every Dart program. [...]
dart:developer
Interact with developer tools such as the debugger and inspector. [...]
dart:math
Mathematical constants and functions, plus a random number generator. [...]
dart:typed_data
Lists that efficiently handle fixed sized data (for example, unsigned 8 byte integers) and SIMD numeric types. [...]

VM

dart:ffi
Foreign Function Interface for interoperability with the C programming language. [...]
dart:io
File, socket, HTTP, and other I/O support for non-web applications. [...]
dart:isolate
Concurrent programming using isolates: independent workers that are similar to threads but don't share memory, communicating only via messages. [...]

Web

dart:html
HTML elements and other resources for web-based applications that need to interact with the browser and the DOM (Document Object Model). [...]
dart:js
Low-level support for interoperating with JavaScript. [...]
dart:js_util
Utility methods to manipulate package:js annotated JavaScript interop objects in cases where the name to call is not known at runtime. [...]