ScannerConfig constructor

const ScannerConfig({
  1. Color borderColor = Colors.green,
  2. double borderWidth = 3.0,
  3. double borderRadius = 16.0,
  4. double scanAreaSize = 0.7,
  5. Color overlayColor = Colors.black54,
  6. bool showStatusText = true,
  7. String? title,
  8. bool showAppBar = true,
  9. Color? appBarColor,
  10. bool showTorchToggle = true,
})

Implementation

const ScannerConfig({
  this.borderColor = Colors.green,
  this.borderWidth = 3.0,
  this.borderRadius = 16.0,
  this.scanAreaSize = 0.7,
  this.overlayColor = Colors.black54,
  this.showStatusText = true,
  this.title,
  this.showAppBar = true,
  this.appBarColor,
  this.showTorchToggle = true,
});