CardScan constructor

const CardScan({
  1. Key? key,
  2. CardScanBounds bounds = const CardScanBounds(left: 0.1, top: 0.35, right: 0.1, bottom: 0.35),
  3. int observationsCountLimit = 5,
  4. int cardNumberThreshold = 2,
  5. int cardExpiryThreshold = 2,
  6. int cardHolderThreshold = 2,
  7. void onScanned(
    1. CardScannedEvent event
    )?,
  8. void onScanning(
    1. CardScanningEvent event
    )?,
})

Implementation

const CardScan({
  super.key,
  this.bounds = const CardScanBounds(
    left: 0.1,
    top: 0.35,
    right: 0.1,
    bottom: 0.35,
  ),
  this.observationsCountLimit = 5,
  this.cardNumberThreshold = 2,
  this.cardExpiryThreshold = 2,
  this.cardHolderThreshold = 2,
  this.onScanned,
  this.onScanning,
});