sh_pdf 1.0.1
sh_pdf: ^1.0.1 copied to clipboard
A high-performance, optimized custom PDF viewer for Flutter with support for URLs, local files, zoom, and pagination.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add sh_pdfWith Flutter:
$ flutter pub add sh_pdfThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
sh_pdf: ^1.0.1Alternatively, 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:sh_pdf/sh_pdf.dart';