PackageTrack
Sign in Get early access

qr_code_dart_scan

A QR code scanner that works on both iOS and Android using dart decoder.

0.14.0 8.0K downloads/mo #3224 most downloaded on pub.dev RafaelBarbosatec/qr_code_dart_scan

What this package is like to depend on

Last release 13 days ago

10 Aug 2026

Ships unpredictably

gaps range from 9 days to 10 months

Nearly every release is documented

notes for 50 of 50 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

50 releases · first in 2021

7 releases in the last 12 months

see the full history below

Release timeline

50 releases · Aug 2021 to Aug 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 50
  1. 0.14.0 10 Aug 2026
    Release notes

    Breaking: the models moved to qr_code_dart_decoder

    ScanResult and BarcodeFormat are now owned by qr_code_dart_decoder (0.3.0) and re-exported here, so both packages speak the same types and zxing_lib is gone from this package's dependencies. Importing from package:qr_code_dart_scan/qr_code_dart_scan.dart keeps working unchanged.

    • ScanResult.corners is now List<Point<double>> (dart:math) instead of List<Offset>. The decoder is a pure Dart package and cannot depend on dart:ui. New toOffset/toOffsets extensions bridge them:

      // before
      CustomPaint(painter: MyPainter(result.corners));            // List<Offset>
      
      // now
      CustomPaint(painter: MyPainter(result.corners.toOffsets));  // List<Offset>
      
    • QRCodeDartScanDecoder no longer speaks zxing_lib. decodeCameraImage and decodeFile return ScanResult? instead of Result?, completing the migration started in 0.13.0.

    Bug fix (from qr_code_dart_decoder 0.3.0)

    • Camera decoding now honours the formats you pass to QRCodeDartScanView/QRCodeDartScanDecoder. The format list was accepted but never reached the reader, so live scanning could return a barcode in a format you had not asked for. If you were relying on that leak, widen formats explicitly.
    Open source →
  2. 0.13.0 10 Aug 2026
    Release notes

    Breaking: zxing_lib no longer leaks into the scanner API

    onCapture, onResultInterceptor and formats now use the package's own types, so apps do not need a zxing_lib dependency to consume them.

    before (zxing_lib) now
    Result ScanResult
    BarcodeFormat BarcodeFormat (own enum, only the 10 supported formats)
    result.barcodeFormat result.format
    result.resultPoints (List<ResultPoint?>?) result.corners (List<Offset>, never null)
    result.timestamp (int millis) result.timestamp (DateTime)
    result.rawBytes (List<int>?) result.rawBytes (Uint8List?)
    • result.numBits and result.resultMetadata were dropped; nothing in the package used them.
    • Passing an unsupported format is now a compile error instead of a runtime Exception.
    • ScanResult keeps identity equality on purpose, so scanning the same code twice still notifies.
    • The low-level QRCodeDartScanDecoder still speaks zxing_lib types; only the scanner layer was migrated.
    Open source →
  3. 0.12.1 30 Jul 2026
    Release notes
    • Result points accuracy: Fixed resultPoints coordinates to accurately match the QR code position in the camera preview.
    • Dynamic rotation handling: Automatically detects camera orientation (landscape/portrait) and applies the correct transformation.
    • Bounding box generation: Result points now always form a perfect quadrilateral (4 corners) regardless of the number of points detected.
    • Example enhancement: Added visual overlay in the example app to display detected QR code boundaries with lines and points.
    Open source →
  4. 0.12.0 28 Jul 2026
    Release notes
    • Performance improvements: Reduced scan interval default from 1s to 200ms (5x faster detection).
    • Memory optimization: Update qr_code_dart_decoder to 0.2.0 with major performance improvements:
      • Zero-copy data transfer between isolates (~4MB saved per frame)
      • Y plane only processing (~1.5MB saved per frame)
      • Memory leak fix in results list
      • Block-wise image rotation (30-40% faster)
      • Blur detection to skip unprocessable frames (20-30% CPU savings)
    • Detection speed: Average detection time reduced from 2-3s to ~0.4-0.6s (5-7x faster).
    • Decode optimization: Changed to tryHarder: true on first attempt for better success rate.
    Open source →
  5. 0.11.5 03 Oct 2025
    Release notes
    • Add image stream watchdog to detect and handle native camera errors when stream stops responding.
    • Add imageStreamTimeout parameter to configure watchdog timeout (default 2 seconds).
    Open source →
  6. 0.11.4 10 Sep 2025
    Release notes
    • Fix issue CameraException(Disposed CameraController, buildPreview() was called on a disposed CameraController.)
    Open source →
  7. 0.11.3 01 Sep 2025
    Release notes
    • Adds focusPoint in QRCodeDartScanView to set the focus point for the camera preview.
    • Performance improvements.
    Open source →
    Release notes
    • Adds focusPoint in QRCodeDartScanView to set the focus point for the camera preview.
    Open source →
  8. 0.11.2 15 Aug 2025
    Release notes
    • Performance improvements.
    Open source →
  9. 0.11.1 23 Jun 2025
    Release notes
    • Update qr_code_dart_decoder to 0.1.2.
    Open source →
  10. 0.11.0 20 Jun 2025
    Release notes
    • Adds croppingStrategy in QRCodeDartScanView to crop the image before decode.
    • Update qr_code_dart_decoder to 0.1.1.
    • remove scanInvertedQRCode in QRCodeDartScanView. Now it is always true.
    Open source →
    Release notes
    • Adds croppingStrategy in QRCodeDartScanView to crop the image before decode.
    • Update qr_code_dart_decoder to 0.1.1.
    • remove scanInvertedQRCode in QRCodeDartScanView. Now it is always true.
    Open source →
  11. 0.10.1 03 Jun 2025
    Release notes
    • Little improvements in QRCodeDartScanView.
    • Increment some dependencies
    Open source →
  12. 0.10.0 17 Mar 2025
    Release notes
    • Adds lockCaptureOrientation default to DeviceOrientation.portraitUp in QRCodeDartScanView.
    • Decode improvements. Now it use package qr_code_dart_decoder.
    • Adds cropRect in QRCodeDartScanView to crop the image before decode.
    Open source →
  13. 0.9.11 17 Feb 2025
    Release notes
    • Fix exception: CameraException(Uninitialized CameraController, startImageStream() was called on an uninitialized CameraController.);
    Open source →
  14. 0.9.10 13 Feb 2025
    Release notes
    • Adds videoBitrate and fps in QRCodeDartScanView.
    Open source →
  15. 0.9.9 12 Feb 2025
    Release notes
    • Adds imageDecodeOrientation in QRCodeDartScanView to force read image in landscape or portrait orientation.
    Open source →
  16. 0.9.9+1 12 Feb 2025
    Release notes
    • update README.md
    Open source →
  17. 0.9.8 03 Feb 2025
    Release notes
    • Rename param forceReadPortrait to forceReadLandscape. Read image portrait by default. If forceReadLandscape is true, the image will be read in landscape mode, helpful to read itf code.
    • Fix IOS camera orientation.
    Open source →
  18. 0.9.7 30 Jan 2025
    Release notes
    • Adds onCameraError in QRCodeDartScanView.
    Open source →
    Release notes
    • Adds onCameraError in QRCodeDartScanView.
    Open source →
  19. 0.9.6 30 Jan 2025
    Release notes
    • Update dependencies.
    Open source →
  20. 0.9.5 30 Jan 2025
    Release notes
    • Fix issue #30. Adds forceReadPortrait in QRCodeDartScanView to force read portrait image.
    Open source →
  21. 0.9.4 17 Dec 2024
    Release notes
    • adds methods toggleFlash,setFlash,setFlashAuto in QRCodeDartScanController.
    Open source →
  22. 0.9.3 08 Nov 2024
    Release notes
    • Fix stopImageStream exception.
    Open source →
  23. 0.9.2 15 Oct 2024
    Release notes
    • Adds method stopScan and startScan in QRCodeDartScanController.
    • Adds get isLiveScan.
    • Fix changeCamera exception.
    Open source →
  24. 0.9.1 02 Sep 2024
    Release notes
    Open source →
  25. 0.9.0 19 Aug 2024
    Release notes
    • Camera key improvments
    • Update camera pluggin to 0.11.0
    • Performance improvements. Now using pool of isolates to process in live.
    • Adds support to itf.
    Open source →
  26. 0.8.3 07 Aug 2024
    Release notes
    • Fix camera preview scale.
    Open source →
  27. 0.8.2 05 Aug 2024
    Release notes
    • Remove debug prints
    Open source →
  28. 0.8.1 20 Jun 2024
    Release notes
    Open source →
  29. 0.8.0 18 Apr 2024
    Release notes
    • QRCodeDartScanController Improvements
    • Adds Future<void> changeCamera(TypeCamera typeCamera) method in QRCodeDartScanController.
    • Adds intervalScan param in QRCodeDartScanView.
    • Adds onResultInterceptor param in QRCodeDartScanView.
    Open source →
  30. 0.7.7 13 Apr 2024
    Release notes
    Open source →
  31. 0.7.6 18 Mar 2024
    Release notes
    • Handle with didChangeAppLifecycleState.
    • Fix issue #15. Thanks thierrylee!
    Open source →
  32. 0.7.5 13 Feb 2024
    Release notes
    • Update dependencies.
    • Adds the method dispose in QRCodeDartScanController
    Open source →
  33. 0.7.4 07 Feb 2024
    Release notes
    • Fix issue #11
    • Fix AspectRatio
    • Update dependencies.
    Open source →
  34. 0.7.3 11 Oct 2023
    Release notes
    • Fix issue #9
    Open source →
  35. 0.7.2 17 Aug 2023
    Release notes
    Open source →
  36. 0.7.1 26 May 2023
    Release notes
    • return resolutionPreset default to QRCodeDartScanResolutionPreset.medium
    • removre debug prints.
    Open source →
  37. 0.7.0 18 May 2023
    Release notes
    • Update dependencies.
    Open source →
  38. 0.6.0 30 Jun 2022
    Release notes
    • Adds scan by picture
    • Export decoder
    • Improvements in QRCodeDartScanController
    • Improvements in project structure
    Open source →
  39. 0.5.1 22 Jun 2022
    Release notes
    • fix problem camera dispose.
    Open source →
  40. 0.5.0 22 Jun 2022
    Release notes
    • update camera.
    • update zxing_lib.
    • update image.
    Open source →
  41. 0.4.1 20 Apr 2022
    Release notes
    • update camera
    • Adds param resolutionPreset and child in QRCodeDartScanView.
    Open source →
  42. 0.4.0 29 Mar 2022
    Release notes
    • update camera, zxing_lib and image
    Open source →
  43. 0.3.0 23 Dec 2021
    Release notes
    • update camera to 0.9.4+5
    Open source →
  44. 0.2.1 25 Oct 2021
    Release notes
    • downgrade camera. Awaiting fix issue #90070.
    Open source →
  45. 0.2.0 06 Oct 2021
    Release notes
    • update camera
    • update image.
    Open source →
  46. 0.1.1 19 Aug 2021
    Release notes
    • rename scanQRCodeInverted to scanInvertedQRCode
    • improvements aspectRatio.
    Open source →
  47. 0.1.0 16 Aug 2021
    Release notes
    • add setScanEnabled in controller.
    • add other formats: QR_CODE,AZTEC,DATA_MATRIX,PDF_417,CODE_39,CODE_93,CODE_128,EAN_8,EAN_13.
    Open source →
  48. 0.0.2 13 Aug 2021
    Release notes
    • Improvements performance
    Open source →
  49. 0.0.1 12 Aug 2021
    Release notes
    • First version
    Open source →
  50. 0.0.1+1 12 Aug 2021
    Release notes
    • Update README
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive