receipt_printer 1.0.2
receipt_printer: ^1.0.2 copied to clipboard
Flutter receipt, ticket and coupon UI with printer presets, shaped paper, pull-to-tear motion, QR codes and PNG capture. Not a hardware driver.
1.0.2 #
- Reworked the README around a shorter pub.flutter-io.cn installation and quick start.
- Added preview images for all nine printer presets.
1.0.1 #
- Replaced the package banner with the new receipt printer artwork.
1.0.0 #
First stable release.
- Promoted the verified 0.3 API to stable without breaking changes.
- Confirmed the package, public API examples, Gallery, documentation, and GitHub Pages deployment as the supported 1.0 baseline.
- Added a supported-release security policy and private vulnerability reporting.
0.3.0 #
Published to pub.flutter-io.cn and released on GitHub on 29 August 2026.
-
Consolidated Pages CI with pinned actions, enforced Gallery lockfile, static artifact checks and hash routing for project/user sites.
-
Added an isometric README banner, usage guide and current contributor/security guidance; removed obsolete Studio documentation claims.
-
Fixed Gallery item edits overwriting caller-owned tax, discount and total rows.
-
Replaced the multi-page product with one Gallery and repository usage docs.
-
Added nine shared public presets with distinct shell geometry, paper, typography, sample content, rip behavior and optional confetti.
-
Added preset inheritance and group overrides to ReceiptPrinter.
-
Bundled licensed preset typography so copied APIs need no extra font setup.
-
Added real ReceiptCode QR/Code 128 output and optional bundled web rip audio.
-
Generated snippets contain only public package usage, omit defaults, and are compiled and compared pixel-for-pixel against the preview.
-
Added nine preset goldens, responsive Gallery goldens, copy/reset/content tests.
-
Breaking: replaced earlier preset IDs; see doc/migration_0_3.md.
-
Runtime dependencies now include the existing barcode_widget and web libraries.
-
Superseded local source is preserved in an excluded recovery archive.
0.2.0 #
- Refined Home, progressive Studio controls and searchable, deep-linked Docs.
- Public Basic / Current / Interaction API preview and copy feedback.
- Optional ReceiptAudioConfig / ReceiptSound and onTear separation callback.
- Studio-only Web Audio playback, original short tear sample, mute/volume and bounded custom sound import. Core remains Flutter-only.
- Confetti and tear haptics now synchronize with visible separation.
Unreleased: source-ready redesign; publication still requires verified metadata.
-
Opt-in resisted pull/fling tearing, retained detached paper, complementary torn contours, keyboard/semantic controls, reduced motion and controller lifecycle.
-
Bounded configurable confetti, automatic/manual triggers, separate capture boundaries, Studio presets/showcases and shared generated interaction code.
-
Mobile panel switches retain the live receipt; 1,000-item interaction and capture regression tests. See doc/interaction.md.
-
Unified responsive Studio with collapsible panels, retained workspace settings, searchable templates/properties, explicit PNG/code/JSON export and capture preview.
-
Content-sized paper with no internal scrolling. Fixed mode is an overflow-safe target/minimum, not a crop. The outer canvas handles long documents.
-
Independent top/bottom edge patterns, deterministic tears, grain, and a shared contour for clipping, fill, border and configurable shadows.
-
Twelve housing geometries, ten generic printer presets, separate shell shadows, slot alignment, materials, physical details and 22 receipt templates.
-
New ReceiptPrinterController, ReceiptCapture and ReceiptCaptureOptions APIs for full receipt or printer-preview PNG capture, with explicit memory/dimension limits.
-
Generated apps reproduce new settings and include capture/controller lifecycle.
-
Added full-height, contour, capture, responsive, source-parity and golden checks.
-
Legacy constructors remain available. Studio v1 JSON imports map old paper-edge values to the new bottom-edge model; see the historical release notes in this changelog.
0.1.0 #
Initial implementation, not yet published.
-
Local-first Receipt Studio with landing, clean routes, five editable templates, responsive navigation/preview/inspector, history and browser drafts.
-
Validated JSON, bounded PNG logo import, real QR/Code 128/EAN-13 encoding, custom totals, palettes and extended typography/layout controls.
-
Deterministic formatted Dart exports share the live renderer and embed fonts, font licenses, data and logos. Generated-source analysis and pixel-parity tests.
-
Bundled Roboto Mono alongside Vazirmatn; English UI retains opt-in RTL and Persian formatting. No runtime remote font download is required.
-
English-first gallery and documentation; RTL no longer switches language. Persian labels, formatting, fonts and Unicode rendering remain opt-in.
-
Three-stage printer visualization with interruptible feed and reduced motion.
-
Immutable receipt models, exact minor-unit arithmetic and fractional quantities.
-
Configurable money formatting, Persian digits, inherited/explicit RTL.
-
Static and lazy receipt views, typography/theme tokens and builder slots.
-
Five paper silhouettes: serrated, straight, scalloped, torn and ticket.
-
Classic, compact, terminal and rounded shell presets with copyWith, display, padding, typography, outline, shadow and slot customization.
-
Bounded printer output supports lazy 1,000-item receipts without moving the shell; feed replay retains the scroll position.
-
Semantics, text scaling, wrapping rows and bounded PNG capture.
-
Offline example gallery, widget/unit/golden tests and a profile-mode harness.
-
No physical-printer transport, PDF engine, or payment processing.
