ariaramin/receipt_printer ? reverse-engineered prompt

Reverse engineered prompt

Build me a Flutter package and demo that lets me design realistic receipt style UI components for things like receipts, tickets, coupons, and parking passes.

I want a main widget that can show a paper receipt inside a printer shell, with a few ready made printer looks I can switch between, plus an easy way to customize the paper shape, shadows, colors, and typography. It should support normal receipt content like titles, item rows, totals, footers, QR codes, and barcodes, and I want the numbers handled as exact currency amounts, not loose decimals.

Please also include a playground screen where I can preview the different presets, tweak the settings, and copy the Dart code for the current design. The paper should feel interactive, so I can drag to tear it, use the keyboard too, and have optional sound and confetti when it rips. If possible, add a way to export the receipt or printer preview as PNG. Use the current Flutter and Dart docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab