Navaron Bracke

fix error in docs

@@ -75,8 +75,7 @@ class MobileScannerController extends ValueNotifier<MobileScannerState> { @@ -75,8 +75,7 @@ class MobileScannerController extends ValueNotifier<MobileScannerState> {
75 /// If this is empty, all supported formats are detected. 75 /// If this is empty, all supported formats are detected.
76 final List<BarcodeFormat> formats; 76 final List<BarcodeFormat> formats;
77 77
78 - /// Whether scanned barcodes should contain the image  
79 - /// that is embedded into the barcode. 78 + /// Whether the [BarcodeCapture.image] bytes should be provided.
80 /// 79 ///
81 /// If this is false, [BarcodeCapture.image] will always be null. 80 /// If this is false, [BarcodeCapture.image] will always be null.
82 /// 81 ///
@@ -32,8 +32,6 @@ class BarcodeCapture { @@ -32,8 +32,6 @@ class BarcodeCapture {
32 /// This is the data that was used to detect the available [barcodes], the input [image] and the [size]. 32 /// This is the data that was used to detect the available [barcodes], the input [image] and the [size].
33 final Object? raw; 33 final Object? raw;
34 34
35 - /// The size of the input [image].  
36 - ///  
37 - /// If [image] is null, this will be [Size.zero]. 35 + /// The size of the camera input [image].
38 final Size size; 36 final Size size;
39 } 37 }