quick_html_pdf 1.0.0 copy "quick_html_pdf: ^1.0.0" to clipboard
quick_html_pdf: ^1.0.0 copied to clipboard

A fast, high-performance Flutter Web package for converting HTML templates with dynamic data into PDFs using JavaScript interoperability.

Changelog #

1.0.0 #

Initial release of QuickHtmlPdf - a fast HTML to PDF conversion package for Flutter Web.

Features #

  • Hybrid PDF Generation Strategy

    • PdfOutput.download: Instant PDF via native browser print (~50ms)
    • PdfOutput.bytes: Returns PDF as Uint8List using html2canvas + jsPDF
  • Template Engine

    • {{key}} - HTML-escaped interpolation
    • {{nested.path}} - Dot notation for nested objects
    • {{{rawHtml}}} - Unescaped HTML insertion
    • {{#each items}}...{{/each}} - Loop blocks
    • {{@index}}, {{@index1}} - Loop index variables
  • PDF Options

    • Page formats: A4, Letter, Legal
    • Orientations: Portrait, Landscape
    • Custom margins
    • Custom header and footer HTML
    • Configurable scale and image quality
  • Print CSS

    • Automatic @page rules for correct sizing
    • Table header repetition across pages
    • Page break utilities (.page-break, .no-break)
  • Large Document Support

    • Chunked rendering for 200+ page documents
    • Memory-efficient sequential page processing
  • Developer Experience

    • Debug mode with timing logs
    • Clear error messages with phase information
    • UnsupportedError on non-web platforms
2
likes
0
points
153
downloads

Publisher

verified publisherharshtonde.com

Weekly Downloads

A fast, high-performance Flutter Web package for converting HTML templates with dynamic data into PDFs using JavaScript interoperability.

Repository (GitHub)
View/report issues

Topics

#pdf #html-to-pdf #flutter-web #document-generation #printing

License

unknown (license)

Dependencies

flutter, web

More

Packages that depend on quick_html_pdf