cebeaf889a
Porta la funzionalità QR code dalla versione Vue a Flutter.
Condividi: pulsante in fondo alla tab Pasti (attivo solo con piano
non vuoto) → bottom sheet con QR code generato da qr_flutter.
Payload: { "v": 1, "meals": { ... } }, limite 2953 byte.
Ricevi: pulsante sempre visibile → QrScanPage full-screen con
fotocamera via mobile_scanner, cornice di mira, validazione
struttura JSON e importazione via MealPlannerProvider.importPlan().
Nuovi package: qr_flutter ^4.1.0, mobile_scanner ^5.0.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
767 B
YAML
38 lines
767 B
YAML
name: biteplan
|
|
description: App per meal planning, conversione crudo/cotto e lista della spesa.
|
|
publish_to: 'none'
|
|
version: 2.0.0+1
|
|
|
|
environment:
|
|
sdk: '>=3.3.0 <4.0.0'
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
provider: ^6.1.2
|
|
shared_preferences: ^2.3.2
|
|
qr_flutter: ^4.1.0
|
|
mobile_scanner: ^5.0.0
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
integration_test:
|
|
sdk: flutter
|
|
flutter_lints: ^4.0.0
|
|
flutter_launcher_icons: ^0.14.1
|
|
|
|
flutter_launcher_icons:
|
|
android: true
|
|
ios: false
|
|
image_path: "assets/icon-only.png"
|
|
min_sdk_android: 21
|
|
adaptive_icon_background: "#2d6a4f"
|
|
adaptive_icon_foreground: "assets/icon-only.png"
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
assets:
|
|
- assets/data/conversions.json
|
|
- assets/icon-only.png
|