CardScan constructor
const
CardScan({
- Key? key,
- CardScanBounds bounds = const CardScanBounds(left: 0.1, top: 0.35, right: 0.1, bottom: 0.35),
- int observationsCountLimit = 5,
- int cardNumberThreshold = 2,
- int cardExpiryThreshold = 2,
- int cardHolderThreshold = 2,
- void onScanned(
- CardScannedEvent event
- void onScanning(
- 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,
});