Usage on Flutter
4.1 Launch App
Launch the app :
flutter run
4.2 Analyze the code
In decoders.dart
, you have all the decoders. You must choose one main decoder and multiple subdecoders like we did in main.dart
.
SmartScan.scan(MainDecoders.CODE_EU_PLATES,
SmartScanType.CODE_PLT_CHE | SmartScanType.CODE_PLT_FRA)
.then((value) {
setState(() {
_scanResult = value;
});
});
Here we want to scan swiss and french plates