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
2024-05-02 12:05:28 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
695530aed11a7a0401ffcf7b3a80ec0e0532ea11
695530ae
1 parent
32d670da
refactor: revert autoStart and onDetect. See changelog for more
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
example/lib/barcode_scanner_simple.dart
lib/src/mobile_scanner.dart
example/lib/barcode_scanner_simple.dart
View file @
695530a
import
'dart:async'
;
import
'package:flutter/material.dart'
;
import
'package:mobile_scanner/mobile_scanner.dart'
;
import
'package:mobile_scanner_example/scanner_button_widgets.dart'
;
import
'package:mobile_scanner_example/scanner_error_widget.dart'
;
class
BarcodeScannerSimple
extends
StatefulWidget
{
const
BarcodeScannerSimple
({
super
.
key
});
...
...
lib/src/mobile_scanner.dart
View file @
695530a
...
...
@@ -120,6 +120,7 @@ class MobileScanner extends StatefulWidget {
class
_MobileScannerState
extends
State
<
MobileScanner
>
{
late
final
controller
=
widget
.
controller
??
MobileScannerController
();
/// The current scan window.
Rect
?
scanWindow
;
...
...
Please
register
or
login
to post a comment