shouldShowScanAreaGuides property

bool get shouldShowScanAreaGuides

When set to true, this overlay will visualize the active scan area used for BarcodeSelection. This is useful to check margins (DataCaptureView.scanAreaMargins) defined on the DataCaptureView are set correctly. This property is meant for debugging during development and is not intended for use in production.

By default this property is false.

Added in version 6.10.0

Implementation

bool get shouldShowScanAreaGuides => _shouldShowScanAreaGuides;
set shouldShowScanAreaGuides (bool newValue)

When set to true, this overlay will visualize the active scan area used for BarcodeSelection. This is useful to check margins (DataCaptureView.scanAreaMargins) defined on the DataCaptureView are set correctly. This property is meant for debugging during development and is not intended for use in production.

By default this property is false.

Added in version 6.10.0

Implementation

set shouldShowScanAreaGuides(bool newValue) {
  _shouldShowScanAreaGuides = newValue;
  _controller?.update();
}