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 2aafb91 commit 263c4b7Copy full SHA for 263c4b7
lib/screens/unsupported.dart
@@ -9,6 +9,10 @@ class BarcodeScanner extends StatelessWidget {
9
final Function(String) onScanned;
10
final String? appBarTitle;
11
final bool? centerTitle;
12
+ /// Properties only added to standardize the implementation of the BarcodeScanner class
13
+ final int scanWidth;
14
+ final int scanHeight;
15
+
16
const BarcodeScanner(
17
{Key? key,
18
this.lineColor = "#ff6666",
@@ -17,7 +21,9 @@ class BarcodeScanner extends StatelessWidget {
21
this.scanType = ScanType.barcode,
22
required this.onScanned,
19
23
this.appBarTitle,
20
- this.centerTitle})
24
+ this.centerTitle,
25
+ this.scanWidth = 0,
26
+ this.scanHeight= 0})
27
: super(key: key);
28
29
@override
0 commit comments