TextCapture constructor

const TextCapture({
  1. Key? key,
  2. required String? licenseKey,
  3. bool? isBeepSound,
  4. bool? isContinueScan,
  5. bool? isVibrate,
  6. String? scanType,
  7. String? resolution,
  8. bool? isAutoExposure,
  9. bool? flashLight,
  10. bool? isAutoZoom,
  11. Color? buttonColor,
  12. double? buttonHeight,
  13. double? buttonRadius,
  14. bool? showScanIcon = false,
  15. bool? isLandscape = false,
  16. Widget? captureButton,
  17. TextCaptureController? controller,
  18. Size? designSize,
  19. required TextScanResultCallbackHandler textScanResultBackHandler,
})

Implementation

const TextCapture(
    {Key? key,
    required this.licenseKey,
    this.isBeepSound,
    this.isContinueScan,
    this.isVibrate,
    this.scanType,
      this.resolution,
    this.isAutoExposure,
    this.flashLight,
    this.isAutoZoom,
      this.buttonColor,
      this.buttonHeight,
      this.buttonRadius,
      this.showScanIcon = false,
      this.isLandscape = false,
      this.captureButton,
      this.controller,
      this.designSize,
    required this.textScanResultBackHandler})
    : assert(licenseKey != null),
      super(key: key);