initCamera method
Future<void>
initCamera({
- required bool hasBarcodeReader,
- FlashMode initFlash = FlashMode.auto,
- bool fill = true,
- BarcodeType barcodeType = BarcodeType.allFormats,
- CameraType cameraType = CameraType.back,
- UsageMode mode = UsageMode.barcodeScanner,
Implementation
Future<void> initCamera({
required bool hasBarcodeReader,
FlashMode initFlash = FlashMode.auto,
bool fill = true,
BarcodeType barcodeType = BarcodeType.allFormats,
CameraType cameraType = CameraType.back,
UsageMode mode = UsageMode.barcodeScanner,
}) {
return ArtemisBarcodeScannerPlatform.instance.initCamera(
mode: mode,
hasBarcodeReader: hasBarcodeReader,
initFlash: initFlash,
fill: fill,
barcodeType: barcodeType,
cameraType: cameraType);
}