ScanKitWidget constructor

ScanKitWidget({
  1. required ScanKitCallback callback,
  2. Rect? boundingBox,
  3. dynamic format,
  4. dynamic continuouslyScan,
})

Implementation

ScanKitWidget(
    {required this.callback, this.boundingBox, format, continuouslyScan})
    : this.format = format ?? [ScanTypes.ALL],
      this.continuouslyScan = continuouslyScan ?? true;