shortLabel property

String get shortLabel

A short display name for this reader, suitable for use in compact UI elements such as menu items or badges.

Implementation

String get shortLabel => switch (this) {
  WebBarcodeReader.auto => 'Auto',
  WebBarcodeReader.barcodeDetector => 'Native',
  WebBarcodeReader.zxingWasm => 'WASM',
  WebBarcodeReader.zxingJs => 'JS',
};