dart_pdf_printing 0.2.1
dart_pdf_printing: ^0.2.1 copied to clipboard
Optional PDF printing for Flutter, with layout preview and native system printing on Android, iOS, macOS, Windows, Linux, and web.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add dart_pdf_printingThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
dart_pdf_printing: ^0.2.1Alternatively, 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:dart_pdf_printing/dart_pdf_printing.dart';