Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

kitesoft/dart_pdf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pdf creation library for dart / flutter

Example:

final pdf = new PDFDocument();
final page = new PDFPage(pdf, pageFormat: new PDFPageFormat(PDFPageFormat.LETTER));
final g = page.getGraphics();
final font = new PDFFont(pdf);

g.setColor(new PDFColor(0.0, 1.0, 1.0));
g.drawRect(50.0, 30.0, 100.0, 50.0);
g.fillPath();

g.setColor(new PDFColor(0.3, 0.3, 0.3));
g.drawString(font, 12.0, "Hello World!", 50.0, 300.0);

var file = new File('file.pdf');
file.writeAsBytesSync(pdf.save());

About

Pdf creation module for dart/flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%