David PHAM-VAN

Update README

... ... @@ -2,7 +2,7 @@
[![Build Status](https://travis-ci.org/DavBfr/dart_pdf.svg?branch=master)](https://travis-ci.org/DavBfr/dart_pdf)
This set of plugin allows Flutter apps to generate and print pdf files to device printer. This plugin works for iOS and Android.
This set of plugins allows Flutter apps to generate and print pdf files to the device printer. This plugin works for iOS and Android.
* dart pdf: <https://pub.dev/packages/pdf>
* flutter printing: <https://pub.dev/packages/printing>
... ...
# Pdf creation library for dart / flutter
# Pdf creation library for dart/flutter
This library is divided in two parts:
This library is divided into two parts:
* a low-level Pdf creation library that takes care of the pdf bits generation.
* a Widgets system similar to Flutter's, for easy high-level Pdf creation.
It can create a full multi-pages document with graphics,
images and text using TrueType fonts. With the ease of use you already know.
images, and text using TrueType fonts. With the ease of use you already know.
<img alt="Example document" src="https://raw.githubusercontent.com/DavBfr/dart_pdf/master/pdf/example.jpg">
... ... @@ -16,7 +16,7 @@ for full flutter print and share operation.
The coordinate system is using the internal Pdf unit:
* 1.0 is defined as 1 / 72.0 inch
* you can use the constants for centimeters, millimeters and inch defined in PdfPageFormat
* you can use the constants for centimeters, millimeters, and inch defined in PdfPageFormat
[![Buy Me A Coffee](https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png "Buy Me A Coffee")](https://www.buymeacoffee.com/JORBmbw9h "Buy Me A Coffee")
... ...
# Printing
Plugin that allows Flutter apps to generate and print
A plugin that allows Flutter apps to generate and print
documents to android or ios compatible printers
See the example on how to use the plugin.
<img alt="Example document" src="https://raw.githubusercontent.com/DavBfr/dart_pdf/master/printing/example.png" width="300">
This example is also available on the web here: <https://davbfr.github.io/dart_pdf/>
This example is also available on the web here: <https://davbfr.github.io/dart_pdf/>.
This plugin uses the `pdf` package <https://pub.dev/packages/pdf>
for pdf creation. Please refer to <https://pub.dev/documentation/pdf/latest/>
... ... @@ -78,7 +78,7 @@ Or share the document to other applications:
await Printing.sharePdf(bytes: pdf.save(), filename: 'my-document.pdf');
```
To print an HTML document, simply do:
To print an HTML document:
```dart
await Printing.layoutPdf(
... ...