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
Navaron Bracke
2024-03-14 13:19:30 +0100
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2024-03-14 13:19:30 +0100
Commit
663e43a4651c2038acb2e8cb86e93dbec9ad78cf
663e43a4
2 parents
c3989c4a
646e3cad
Merge pull request #981 from sakatech-jp/fix_typo_scanned_barcode_label
fix: fix typo
Hide 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 @
663e43a
...
...
@@ -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