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
JakubPatrik
2022-08-17 10:30:38 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d537c95e28529286e67fdb25b085e4396c0596a9
d537c95e
1 parent
f01fcc0d
add the trailing comma
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
lib/src/mobile_scanner_controller.dart
lib/src/mobile_scanner_controller.dart
View file @
d537c95
...
...
@@ -109,10 +109,12 @@ class MobileScannerController {
break
;
case
'barcodeWeb'
:
final
bytes
=
(
binaryData
as
List
).
cast
<
int
>();
barcodesController
.
add
(
Barcode
(
rawValue:
data
as
String
?,
rawBytes:
Uint8List
.
fromList
(
bytes
),
));
barcodesController
.
add
(
Barcode
(
rawValue:
data
as
String
?,
rawBytes:
Uint8List
.
fromList
(
bytes
),
),
);
break
;
default
:
throw
UnimplementedError
();
...
...
Please
register
or
login
to post a comment