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 9590571 commit 2aafb91Copy full SHA for 2aafb91
1 file changed
lib/screens/io_device.dart
@@ -14,6 +14,10 @@ class BarcodeScanner extends StatelessWidget {
14
final Function(String) onScanned;
15
final String? appBarTitle;
16
final bool? centerTitle;
17
+ /// Properties only added to standardize the implementation of the BarcodeScanner class
18
+ final int scanWidth;
19
+ final int scanHeight;
20
+
21
const BarcodeScanner({
22
Key? key,
23
required this.lineColor,
@@ -23,6 +27,8 @@ class BarcodeScanner extends StatelessWidget {
27
required this.onScanned,
24
28
this.appBarTitle,
25
29
this.centerTitle,
30
+ this.scanWidth = 0,
31
+ this.scanHeight = 0
26
32
}) : super(key: key);
33
34
@override
0 commit comments