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
Julian Steenbakker
2022-03-04 18:05:35 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6ef817017100cfb8313ab834696354019d772ea8
6ef81701
1 parent
124586f2
bug: fixes crash when no formats are given on iOS
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
example/lib/barcode_scanner_controller.dart
example/lib/barcode_scanner_controller.dart
View file @
6ef8170
...
...
@@ -16,7 +16,8 @@ class _BarcodeScannerWithControllerState
String
?
barcode
;
MobileScannerController
controller
=
MobileScannerController
(
torchEnabled:
true
,
formats:
[
BarcodeFormat
.
qrCode
]
torchEnabled:
true
,
// formats: [BarcodeFormat.qrCode]
// facing: CameraFacing.front,
);
...
...
Please
register
or
login
to post a comment