share_pdf 0.0.5
share_pdf: ^0.0.5 copied to clipboard
A new Flutter package where you can give a pdf url from API or web and you can share this pdf file in any media, not just an url, it will be shared as an pdf file, it will be working both in android and ios
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add share_pdfWith Flutter:
$ flutter pub add share_pdfThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
share_pdf: ^0.0.5Alternatively, 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:share_pdf/share_pdf.dart';