We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2249102 commit d0bf963Copy full SHA for d0bf963
1 file changed
lib/simple_barcode_scanner.dart
@@ -25,6 +25,10 @@ class SimpleBarcodeScannerPage extends StatelessWidget {
25
///center Title
26
final bool? centerTitle;
27
28
+ /// Only for web app, set qrBox width and height
29
+ final int scanWidth;
30
+ final int scanHeight;
31
+
32
/// appBatTitle and centerTitle support in web and window only
33
/// Remaining field support in only mobile devices
34
const SimpleBarcodeScannerPage({
@@ -35,6 +39,8 @@ class SimpleBarcodeScannerPage extends StatelessWidget {
35
39
this.scanType = ScanType.barcode,
36
40
this.appBarTitle,
37
41
this.centerTitle,
42
+ this.scanWidth = 280,
43
+ this.scanHeight = 120
38
44
}) : super(key: key);
45
46
@override
0 commit comments