App Prototype: Last Mile Delivery

A Flutter project demonstrating how to implement a prototype for a last-mile delivery app using Dynamsoft Barcode Reader, Dyanmsoft Label Recognizer and Dynamsoft Document Normalizer.

last-mile-delivery.mp4

Supported Platforms

  • Windows
  • Android
  • iOS
  • Web

Dependencies

License Key

Apply for a license key and update the following lines in global.dart:

Future<void> initBarcodeSDK() async {
  await barcodeReader.setLicense(
      'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ==');
  await barcodeReader.init();
  await barcodeReader.setBarcodeFormats(BarcodeFormat.ALL);
}

Future<void> initMRZSDK() async {
  await mrzDetector.init(
      "DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ==");
  await mrzDetector.loadModel();
}

Future<void> initDocumentSDK() async {
  await docScanner.init(
      'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAxLTE2NDk4Mjk3OTI2MzUiLCJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInNlc3Npb25QYXNzd29yZCI6IndTcGR6Vm05WDJrcEQ5YUoifQ==');
  await docScanner.setParameters(Template.color);
}

Try Online Demo

https://yushulx.me/flutter-last-mile-delivery/