Navaron Bracke

fix doc

@@ -179,6 +179,9 @@ class MobileScannerController extends ValueNotifier<MobileScannerState> { @@ -179,6 +179,9 @@ class MobileScannerController extends ValueNotifier<MobileScannerState> {
179 /// Start scanning for barcodes. 179 /// Start scanning for barcodes.
180 /// Upon calling this method, the necessary camera permission will be requested. 180 /// Upon calling this method, the necessary camera permission will be requested.
181 /// 181 ///
  182 + /// The [cameraDirection] can be used to specify the camera direction.
  183 + /// If this is null, this defaults to the [facing] value.
  184 + ///
182 /// Throws a [MobileScannerException] if starting the scanner failed. 185 /// Throws a [MobileScannerException] if starting the scanner failed.
183 Future<void> start({CameraFacing? cameraDirection}) async { 186 Future<void> start({CameraFacing? cameraDirection}) async {
184 if (_isDisposed) { 187 if (_isDisposed) {