feat(block2): QR of your npub in the profile (scan to share at a fair)

Adds a QrView (painted from the pure-Dart 'barcode' matrix — already transitive
via pdf, no native plugin) and shows a QR of your npub on the profile identity
card, so you can hand your identity over with a scan. Analyzer clean.
This commit is contained in:
vjrj 2026-07-10 13:00:47 +02:00
parent 48228c0bc6
commit 3067d9ca7f
3 changed files with 61 additions and 1 deletions

View file

@ -57,6 +57,9 @@ dependencies:
# Pure-Dart PDF generation (Apache-2.0) for the printable "what I share"
# catalog. No platform channels, so the whole flow is host-testable.
pdf: ^3.11.3
# Pure-Dart barcode/QR generation (Apache-2.0; already used transitively by
# pdf). Painted on screen for the profile's shareable identity QR.
barcode: ^2.2.9
path: ^1.9.0
path_provider: ^2.1.5