TextCapture constructor
const
TextCapture({
- Key? key,
- required String? licenseKey,
- bool? isBeepSound,
- bool? isContinueScan,
- bool? isVibrate,
- String? scanType,
- String? resolution,
- bool? isAutoExposure,
- bool? flashLight,
- bool? isAutoZoom,
- Color? buttonColor,
- double? buttonHeight,
- double? buttonRadius,
- bool? showScanIcon = false,
- bool? isLandscape = false,
- Widget? captureButton,
- TextCaptureController? controller,
- Size? designSize,
- 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);