pdfrx 1.0.80 pdfrx: ^1.0.80 copied to clipboard
pdfrx is a rich and fast PDF viewer implementation built on the top of pdfium. The plugin supports Android, iOS, Windows, macOS, Linux, and Web.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pdfrx
With Flutter:
$ flutter pub add pdfrx
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
pdfrx: ^1.0.80
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pdfrx/pdfrx.dart';