PDF viewer for flutter
Android and iOS working pdf viewer!
Use this package as a library
- 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:
$ 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