BarcodeScanner constructor

const BarcodeScanner({
  1. Key? key,
  2. required String lineColor,
  3. required String cancelButtonText,
  4. required bool isShowFlashIcon,
  5. required ScanType scanType,
  6. required dynamic onScanned(
    1. String
    ),
  7. String? appBarTitle,
  8. bool? centerTitle,
  9. Widget? child,
})

Implementation

const BarcodeScanner({
  super.key,
  required this.lineColor,
  required this.cancelButtonText,
  required this.isShowFlashIcon,
  required this.scanType,
  required this.onScanned,
  this.appBarTitle,
  this.centerTitle,
  this.child,
});