Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -99,7 +99,7 @@ class _BarcodeListScannerWithControllerState | @@ -99,7 +99,7 @@ class _BarcodeListScannerWithControllerState | ||
| 99 | height: 50, | 99 | height: 50, |
| 100 | child: FittedBox( | 100 | child: FittedBox( |
| 101 | child: Text( | 101 | child: Text( |
| 102 | - '${barcodeCapture?.barcodes.map((e) => e.rawValue)}', | 102 | + '${barcodeCapture?.barcodes.map((e) => e.rawValue) ?? 'Scan something!'}', |
| 103 | overflow: TextOverflow.fade, | 103 | overflow: TextOverflow.fade, |
| 104 | style: Theme.of(context) | 104 | style: Theme.of(context) |
| 105 | .textTheme | 105 | .textTheme |
-
Please register or login to post a comment