decodePixels static method

List<UCode> decodePixels(
  1. Uint8List pixels,
  2. int width,
  3. int height, {
  4. bool bgra = true,
  5. int rowStride = 0,
  6. UCodeScanOptions options = const UCodeScanOptions(),
})

Finds codes in raw RGBA/BGRA pixels, pure Dart (works in isolates and on the web).

Implementation

static List<UCode> decodePixels(Uint8List pixels, int width, int height, {bool bgra = true, int rowStride = 0, UCodeScanOptions options = const UCodeScanOptions()}) =>
    UCodeReader.decodePixels(pixels, width, height, bgra: bgra, rowStride: rowStride, options: options);