Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
sakatech
2024-03-11 21:35:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
646e3cad12bd84dc8e9a2e7f80227ae2b29a04bb
646e3cad
1 parent
c3989c4a
fix typo
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
example/lib/scanned_barcode_label.dart
example/lib/scanned_barcode_label.dart
View file @
646e3ca
...
...
@@ -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
(
...
...
Please
register
or
login
to post a comment