advance_pdf_viewer2 2.0.6-beta.2 advance_pdf_viewer2: ^2.0.6-beta.2 copied to clipboard
A fork from a flutter plugin for handling PDF files. Works on both Android, iOS ( MacOS and Web are under testing )
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add advance_pdf_viewer2
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
advance_pdf_viewer2: ^2.0.6-beta.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:advance_pdf_viewer2/advance_pdf_viewer.dart';