qr_code_dart_scan 0.12.1 copy "qr_code_dart_scan: ^0.12.1" to clipboard
qr_code_dart_scan: ^0.12.1 copied to clipboard

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

0.12.1 #

  • 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.

0.12.0 #

  • 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.

0.11.5 #

  • 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).

0.11.4 #

  • Fix issue CameraException(Disposed CameraController, buildPreview() was called on a disposed CameraController.)

0.11.3 #

  • Adds focusPoint in QRCodeDartScanView to set the focus point for the camera preview.

0.11.2 #

  • Performance improvements.

0.11.1 #

  • Update qr_code_dart_decoder to 0.1.2.

0.11.0 #

  • 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.

0.10.1 #

  • Little improvements in QRCodeDartScanView.
  • Increment some dependencies

0.10.0 #

  • 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.

0.9.11 #

  • Fix exception: CameraException(Uninitialized CameraController, startImageStream() was called on an uninitialized CameraController.);

0.9.10 #

  • Adds videoBitrate and fps in QRCodeDartScanView.

0.9.9+1 #

  • update README.md

0.9.9 #

  • Adds imageDecodeOrientation in QRCodeDartScanView to force read image in landscape or portrait orientation.

0.9.8 #

  • 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.

0.9.7 #

  • Adds onCameraError in QRCodeDartScanView.

0.9.6 #

  • Update dependencies.

0.9.5 #

  • Fix issue #30. Adds forceReadPortrait in QRCodeDartScanView to force read portrait image.

0.9.4 #

  • adds methods toggleFlash,setFlash,setFlashAuto in QRCodeDartScanController.

0.9.3 #

  • Fix stopImageStream exception.

0.9.2 #

  • Adds method stopScan and startScan in QRCodeDartScanController.
  • Adds get isLiveScan.
  • Fix changeCamera exception.

0.9.1 #

0.9.0 #

  • 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.

0.8.3 #

  • Fix camera preview scale.

0.8.2 #

  • Remove debug prints

0.8.1 #

0.8.0 #

  • QRCodeDartScanController Improvements
  • Adds Future<void> changeCamera(TypeCamera typeCamera) method in QRCodeDartScanController.
  • Adds intervalScan param in QRCodeDartScanView.
  • Adds onResultInterceptor param in QRCodeDartScanView.

0.7.7 #

0.7.6 #

  • Handle with didChangeAppLifecycleState.
  • Fix issue #15. Thanks thierrylee!

0.7.5 #

  • Update dependencies.
  • Adds the method dispose in QRCodeDartScanController

0.7.4 #

  • Fix issue #11
  • Fix AspectRatio
  • Update dependencies.

0.7.3 #

  • Fix issue #9

0.7.2 #

0.7.1 #

  • return resolutionPreset default to QRCodeDartScanResolutionPreset.medium
  • removre debug prints.

0.7.0 #

  • Update dependencies.

0.6.0 #

  • Adds scan by picture
  • Export decoder
  • Improvements in QRCodeDartScanController
  • Improvements in project structure

0.5.1 #

  • fix problem camera dispose.

0.5.0 #

  • update camera.
  • update zxing_lib.
  • update image.

0.4.1 #

  • update camera
  • Adds param resolutionPreset and child in QRCodeDartScanView.

0.4.0 #

  • update camera, zxing_lib and image

0.3.0 #

  • update camera to 0.9.4+5

0.2.1 #

  • downgrade camera. Awaiting fix issue #90070.

0.2.0 #

  • update camera
  • update image.

0.1.1 #

  • rename scanQRCodeInverted to scanInvertedQRCode
  • improvements aspectRatio.

0.1.0 #

  • add setScanEnabled in controller.
  • add other formats: QR_CODE,AZTEC,DATA_MATRIX,PDF_417,CODE_39,CODE_93,CODE_128,EAN_8,EAN_13.

0.0.2 #

  • Improvements performance

0.0.1+1 #

  • Update README

0.0.1 #

  • First version