BarcodeScanner constructor

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

Implementation

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