Showing
3 changed files
with
8 additions
and
8 deletions
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | 2 | ||
3 | [](https://travis-ci.org/DavBfr/dart_pdf) | 3 | [](https://travis-ci.org/DavBfr/dart_pdf) |
4 | 4 | ||
5 | -This set of plugin allows Flutter apps to generate and print pdf files to device printer. This plugin works for iOS and Android. | 5 | +This set of plugins allows Flutter apps to generate and print pdf files to the device printer. This plugin works for iOS and Android. |
6 | 6 | ||
7 | * dart pdf: <https://pub.dev/packages/pdf> | 7 | * dart pdf: <https://pub.dev/packages/pdf> |
8 | * flutter printing: <https://pub.dev/packages/printing> | 8 | * flutter printing: <https://pub.dev/packages/printing> |
1 | -# Pdf creation library for dart / flutter | 1 | +# Pdf creation library for dart/flutter |
2 | 2 | ||
3 | -This library is divided in two parts: | 3 | +This library is divided into two parts: |
4 | 4 | ||
5 | * a low-level Pdf creation library that takes care of the pdf bits generation. | 5 | * a low-level Pdf creation library that takes care of the pdf bits generation. |
6 | * a Widgets system similar to Flutter's, for easy high-level Pdf creation. | 6 | * a Widgets system similar to Flutter's, for easy high-level Pdf creation. |
7 | 7 | ||
8 | It can create a full multi-pages document with graphics, | 8 | It can create a full multi-pages document with graphics, |
9 | -images and text using TrueType fonts. With the ease of use you already know. | 9 | +images, and text using TrueType fonts. With the ease of use you already know. |
10 | 10 | ||
11 | <img alt="Example document" src="https://raw.githubusercontent.com/DavBfr/dart_pdf/master/pdf/example.jpg"> | 11 | <img alt="Example document" src="https://raw.githubusercontent.com/DavBfr/dart_pdf/master/pdf/example.jpg"> |
12 | 12 | ||
@@ -16,7 +16,7 @@ for full flutter print and share operation. | @@ -16,7 +16,7 @@ for full flutter print and share operation. | ||
16 | The coordinate system is using the internal Pdf unit: | 16 | The coordinate system is using the internal Pdf unit: |
17 | 17 | ||
18 | * 1.0 is defined as 1 / 72.0 inch | 18 | * 1.0 is defined as 1 / 72.0 inch |
19 | -* you can use the constants for centimeters, millimeters and inch defined in PdfPageFormat | 19 | +* you can use the constants for centimeters, millimeters, and inch defined in PdfPageFormat |
20 | 20 | ||
21 | [](https://www.buymeacoffee.com/JORBmbw9h "Buy Me A Coffee") | 21 | [](https://www.buymeacoffee.com/JORBmbw9h "Buy Me A Coffee") |
22 | 22 |
1 | # Printing | 1 | # Printing |
2 | 2 | ||
3 | -Plugin that allows Flutter apps to generate and print | 3 | +A plugin that allows Flutter apps to generate and print |
4 | documents to android or ios compatible printers | 4 | documents to android or ios compatible printers |
5 | 5 | ||
6 | See the example on how to use the plugin. | 6 | See the example on how to use the plugin. |
7 | 7 | ||
8 | <img alt="Example document" src="https://raw.githubusercontent.com/DavBfr/dart_pdf/master/printing/example.png" width="300"> | 8 | <img alt="Example document" src="https://raw.githubusercontent.com/DavBfr/dart_pdf/master/printing/example.png" width="300"> |
9 | 9 | ||
10 | -This example is also available on the web here: <https://davbfr.github.io/dart_pdf/> | 10 | +This example is also available on the web here: <https://davbfr.github.io/dart_pdf/>. |
11 | 11 | ||
12 | This plugin uses the `pdf` package <https://pub.dev/packages/pdf> | 12 | This plugin uses the `pdf` package <https://pub.dev/packages/pdf> |
13 | for pdf creation. Please refer to <https://pub.dev/documentation/pdf/latest/> | 13 | for pdf creation. Please refer to <https://pub.dev/documentation/pdf/latest/> |
@@ -78,7 +78,7 @@ Or share the document to other applications: | @@ -78,7 +78,7 @@ Or share the document to other applications: | ||
78 | await Printing.sharePdf(bytes: pdf.save(), filename: 'my-document.pdf'); | 78 | await Printing.sharePdf(bytes: pdf.save(), filename: 'my-document.pdf'); |
79 | ``` | 79 | ``` |
80 | 80 | ||
81 | -To print an HTML document, simply do: | 81 | +To print an HTML document: |
82 | 82 | ||
83 | ```dart | 83 | ```dart |
84 | await Printing.layoutPdf( | 84 | await Printing.layoutPdf( |
-
Please register or login to post a comment