Scanner constructor

Scanner({
  1. required BarcodeFormat typeOfCode,
  2. required Widget? title,
  3. required bool centerTitle,
  4. required Color backgroundColor,
  5. required Color foregroundColor,
})

Implementation

Scanner({
  required this.typeOfCode,
  required this.title,
  required this.centerTitle,
  required this.backgroundColor,
  required this.foregroundColor,
});