main function

void main()

Fdroid version with:

  • Barcode decoding algorithm: ZXing
  • Intent to launch the review

Implementation

void main() {
  launchSmoothApp(
    barcodeScanner: const ScannerZXing(),
    appStore: URIAppStore(
      Uri.parse(
        'https://f-droid.org/fr/packages/openfoodfacts.github.scrachx.openfood/',
      ),
    ),
    scannerLabel: ScannerLabel.ZXing,
    storeLabel: StoreLabel.FDroid,
  );
}