ScannerOverlayPainter constructor

ScannerOverlayPainter({
  1. required ScanMode scanMode,
  2. required double animationValue,
  3. Color accentColor = const Color(0xFF00E5FF),
  4. ScannerUiTheme? theme,
  5. Offset? focusPoint,
  6. bool isDetected = false,
  7. Rect? detectedBoundingBox,
  8. Rect? customScanArea,
  9. List<Rect>? multiBoundingBoxes,
})

Constructs a new ScannerOverlayPainter.

Implementation

ScannerOverlayPainter({
  required this.scanMode,
  required this.animationValue,
  this.accentColor = const Color(0xFF00E5FF),
  this.theme,
  this.focusPoint,
  this.isDetected = false,
  this.detectedBoundingBox,
  this.customScanArea,
  this.multiBoundingBoxes,
});