quick_print 1.0.2
quick_print: ^1.0.2 copied to clipboard
A comprehensive Flutter package for handling PDF printing across different platforms and devices, supporting various printer types including ESC/POS, Sunmi, Bluetooth, USB, and system printers.
Changelog #
1.0.2 - 2025-11-02 #
Added #
- Top-level exports for public API in
lib/quick_print.dartso consumers can import models, printers, services and exceptions directly frompackage:quick_print/quick_print.dart(for exampleBluetoothPrinterModel).
Changed #
- Bumped package version to
1.0.2inpubspec.yaml. - Reorganized exports in
lib/quick_print.dartto include core, models, printers, services and exceptions.
Fixed #
- Resolved a filename/import issue:
lib/src/printers/wifi_printer.dart.dartwas removed and the implementation now lives inlib/src/printers/wifi_printer.dart.
Notes #
- If you maintain downstream tooling or custom imports, update any references to the old
wifi_printer.dart.dartpath towifi_printer.dart.
1.0.1 #
Added #
printImagemethod to the printer interface (IPrinter), allowing direct image printing from bytes.- Documentation improvements for public classes and members.
- README updated with image printing usage and feature.
- Expanded topics in pubspec.yaml for better discoverability.
Changed #
- Lowered Dart SDK constraint to ">=3.4.0 <4.0.0" and Flutter to ">=3.22.0" for broader compatibility with dependencies.
Fixed #
- Linter warnings for missing documentation on public members.
1.0.0 #
Initial release with the following features:
Added #
- Multi-printer support:
- Sunmi printer support for Android devices
- Bluetooth printer integration
- USB printer compatibility
- Desktop system printer support
- Mobile device printing
- Paper size options:
- 80mm paper width
- 58mm paper width
- A4 paper size
- Platform support:
- Android
- iOS
- Windows
- Linux
- macOS
- Printer models:
- Bluetooth printer model with BLE support
- USB printer model
- Factory pattern for printer creation
- Platform-specific implementations
- Comprehensive documentation and examples
Platform-specific Features #
- iOS: Swift support with use_frameworks!
- macOS: Print entitlements support
- Android: Bluetooth permissions handling