printing 5.13.4 printing: ^5.13.4 copied to clipboard
Plugin that allows Flutter apps to generate and print documents to compatible printers on Android, iOS, macOS, Windows, and Linux, as well as web print.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add printing
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
printing: ^5.13.4
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:printing/printing.dart';