SimpleBarcodeScannerPage constructor

const SimpleBarcodeScannerPage({
  1. Key? key,
  2. String lineColor = "#ff6666",
  3. String cancelButtonText = "Cancel",
  4. bool isShowFlashIcon = false,
  5. ScanType scanType = ScanType.barcode,
  6. String? appBarTitle,
  7. bool? centerTitle,
})

appBatTitle and centerTitle support in web and window only Remaining field support in only mobile devices

Implementation

const SimpleBarcodeScannerPage({
  Key? key,
  this.lineColor = "#ff6666",
  this.cancelButtonText = "Cancel",
  this.isShowFlashIcon = false,
  this.scanType = ScanType.barcode,
  this.appBarTitle,
  this.centerTitle,
}) : super(key: key);