subtitle property

String get subtitle

The user-facing subtitle description for this mode.

Implementation

String get subtitle {
  switch (this) {
    case ScanMode.qr:
      return 'URLs, WiFi, Contact, VCard, Raw Text';
    case ScanMode.barcode:
      return 'EAN-13, EAN-8, UPC-A, Code39, Code128';
    case ScanMode.pdf417:
      return 'Stacked 2D barcode for IDs & Boarding Passes';
    case ScanMode.passport:
      return 'ICAO Doc 9303 2-line & 3-line MRZ zone';
    case ScanMode.aadhaar:
      return 'Aadhaar Secure QR & Card OCR text';
    case ScanMode.pan:
      return 'Indian Income Tax Permanent Account Number';
    case ScanMode.drivingLicense:
      return 'AAMVA PDF417 format & Regional DL OCR';
    case ScanMode.vin:
      return '17-character ISO 3779 vehicle number';
    case ScanMode.ocr:
      return 'On-device text block & line recognition';
    case ScanMode.face:
      return 'Face mesh landmarks, head pose & liveness';
    case ScanMode.document:
      return 'Auto edge detection, perspective crop & PDF';
    case ScanMode.invoice:
      return 'Bills, tax invoices, totals, vendor & items';
    case ScanMode.receipt:
      return 'Store receipts, totals, tax & item lists';
    case ScanMode.businessCard:
      return 'Name, title, company, email, phone & web';
    case ScanMode.multiCode:
      return 'Simultaneous multi-QR and barcode pass';
    case ScanMode.cheque:
      return 'MICR codeline, cheque #, routing & account #';
    case ScanMode.idCard:
      return 'Generic government-issued ID card scanning';
    case ScanMode.licensePlate:
      return 'Vehicle license plate text recognition';
  }
}