pdf_kit_editor 0.2.0 copy "pdf_kit_editor: ^0.2.0" to clipboard
pdf_kit_editor: ^0.2.0 copied to clipboard

A visual PDF template builder for Flutter to create receipts, documents, and reports using a drag-and-drop experience with Google Fonts and dynamic data support.

0.2.0 #

  • Major Feature: Local Font Bundling. Fonts (Roboto, Lato, Open Sans, Oswald, Montserrat) are now bundled locally within the package as valid TrueType (.ttf) files. This completely eliminates network dependency for fonts, fixing occasional parsing errors caused by Google Fonts WOFF fallback, and ensures 100% offline PDF generation capability.
  • Feature: Text Styling. Added robust support for Bold and Italic formatting across all Text and Data Field elements in the visual editor.
  • Feature: Advanced Barcodes. Added robust support for Barcode elements (EAN-13, EAN-8) with secure length validation and visual placeholders to prevent PDF generation crashes with invalid data.
  • Feature: Advanced QR Codes. Upgraded QR code generation to support dynamic placeholders when the target data string is empty.
  • Feature: Network Images. Added full support for generating PDFs with dynamic images fetched straight from standard HTTP/HTTPS URLs.
  • Architecture: Fully migrated Freezed models to the new Freezed 3.0 abstract class syntax.
  • Dependencies: Bumped minimum Dart SDK constraint to >=3.8.0 and upgraded all underlying packages (freezed, json_serializable, lints) to their latest major versions.
  • Refactor: Renamed main library export file from pdf_kit.dart to pdf_kit_editor.dart.

0.1.2 #

  • Moved full example into example/lib/main.dart for better pub.dev display.

0.1.1 #

  • Added example/lib/example.dart for better pub.dev example page display.

0.1.0 #

  • Initial release of pdf_kit.
  • Core PDF generation logic using pdf package.
  • Support for PdfTemplate with various elements: Text, Barcode (QR), Image, Table, Space, Divider.
  • Custom layout support (A4, A5, Roll, Custom).
  • Google Fonts integration.
  • Example app with full-featured visual editor and state persistence.
  • Responsive mobile/desktop UI.
3
likes
160
points
86
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A visual PDF template builder for Flutter to create receipts, documents, and reports using a drag-and-drop experience with Google Fonts and dynamic data support.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, freezed_annotation, http, json_annotation, pdf, printing, shared_preferences

More

Packages that depend on pdf_kit_editor