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
2023-11-08 18:17:20 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
03812538de9c9658a6f21889463206617e05eb55
03812538
1 parent
17f2fbbc
fix doc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
lib/src/mobile_scanner_controller.dart
lib/src/mobile_scanner_controller.dart
View file @
0381253
...
...
@@ -179,6 +179,9 @@ class MobileScannerController extends ValueNotifier<MobileScannerState> {
/// Start scanning for barcodes.
/// Upon calling this method, the necessary camera permission will be requested.
///
/// The [cameraDirection] can be used to specify the camera direction.
/// If this is null, this defaults to the [facing] value.
///
/// Throws a [MobileScannerException] if starting the scanner failed.
Future
<
void
>
start
({
CameraFacing
?
cameraDirection
})
async
{
if
(
_isDisposed
)
{
...
...
Please
register
or
login
to post a comment