flutter_cpcl_utils 0.2.1
flutter_cpcl_utils: ^0.2.1 copied to clipboard
Generate CPCL label commands, preview labels in Flutter, and export preview PNG or PDF files.
Changelog #
0.2.1 #
- Improve
CpclPreviewlayout stability inside bounded widgets and avoid rerender churn on ordinary rebuilds. - Add preview customization options for frame padding, border radius, box shadow, zoom interaction, and preview surface styling.
- Add optional checkerboard preview background to make light labels easier to inspect on screen.
- Refresh README examples and expand widget test coverage for preview behavior.
0.2.0 #
- Add declarative
CpclConfigurationandcommandssupport for config-driven label generation. - Add typed declarative commands such as
CpclText,CpclBarcode,CpclQrCode,CpclBox, andCpclKhmerText. - Add async
buildAsync()andpreviewAsync()support for labels that include Flutter-rendered text. - Add
CpclPreviewfor live in-app label previews andCpclPreviewServicefor PNG or PDF export. - Refresh the example app, README, and tests to cover the new generator and preview APIs.
0.1.0 #
- Replace the default package template with a usable CPCL command generator.
- Add chainable APIs for label setup, text, line, box, inverse line, barcode, vertical barcode, QR code, bitmap, and print commands.
- Add typed option objects for barcode, QR, and
SETLPconfiguration. - Add common CPCL control commands such as
contrast(),country(), andsetLp(). - Add Flutter-rendered bitmap text support for Khmer and other Unicode text.
- Document the package with sizing guidance and richer shipping-label examples.
- Add test coverage for sanitization, richer label flows, and typed options.