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-11-17 11:38:29 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e3c9c1a1a0ab62b20757e809f296d1d24b50076a
e3c9c1a1
1 parent
a0c60f5b
doc: update args
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
README.md
README.md
View file @
e3c9c1a
...
...
@@ -76,7 +76,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
appBar:
AppBar
(
title:
const
Text
(
'Mobile Scanner'
)),
body:
MobileScanner
(
allowDuplicates:
false
,
onDetect:
(
barcode
,
args
)
{
onDetect:
(
barcode
)
{
if
(
barcode
.
rawValue
==
null
)
{
debugPrint
(
'Failed to scan Barcode'
);
}
else
{
...
...
@@ -101,7 +101,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
allowDuplicates:
false
,
controller:
MobileScannerController
(
facing:
CameraFacing
.
front
,
torchEnabled:
true
),
onDetect:
(
barcode
,
args
)
{
onDetect:
(
barcode
)
{
if
(
barcode
.
rawValue
==
null
)
{
debugPrint
(
'Failed to scan Barcode'
);
}
else
{
...
...
@@ -163,7 +163,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
body:
MobileScanner
(
allowDuplicates:
false
,
controller:
cameraController
,
onDetect:
(
barcode
,
args
)
{
onDetect:
(
barcode
)
{
if
(
barcode
.
rawValue
==
null
)
{
debugPrint
(
'Failed to scan Barcode'
);
}
else
{
...
...
@@ -189,7 +189,7 @@ import 'package:mobile_scanner/mobile_scanner.dart';
torchEnabled:
true
,
returnImage:
true
,
),
onDetect:
(
barcode
,
args
)
{
onDetect:
(
barcode
)
{
if
(
barcode
.
rawValue
==
null
)
{
debugPrint
(
'Failed to scan Barcode'
);
}
else
{
...
...
Please
register
or
login
to post a comment