diff --git a/example/lib/scanned_barcode_label.dart b/example/lib/scanned_barcode_label.dart index c7f168f6d..112b5cf25 100644 --- a/example/lib/scanned_barcode_label.dart +++ b/example/lib/scanned_barcode_label.dart @@ -13,8 +13,8 @@ class ScannedBarcodeLabel extends StatelessWidget { Widget build(BuildContext context) { return StreamBuilder( stream: barcodes, - builder: (context, snaphot) { - final scannedBarcodes = snaphot.data?.barcodes ?? []; + builder: (context, snapshot) { + final scannedBarcodes = snapshot.data?.barcodes ?? []; if (scannedBarcodes.isEmpty) { return const Text(