qr_lens 1.1.5 copy "qr_lens: ^1.1.5" to clipboard
qr_lens: ^1.1.5 copied to clipboard

A polished QR code scanner with animated capture overlay, live corner tracking, torch control, scan history, and URL detection. Built on camera and ML Kit.

1.1.5 #

  • Fix iOS screenshot/gallery image scanning: use dart:ui-decoded InputImage.fromBytes with bgra8888 as fallback when fromFilePath returns no barcodes. The fallback is guarded by try-catch to handle Android where fromBytes only supports YUV formats.

1.1.4 #

  • Fix iOS screenshot/gallery image scanning: replace InputImage.fromFilePath with manual dart:ui decoding + InputImage.fromBytes to resolve detection failures on iOS.

1.1.3 #

  • Fix QR code fly-to-center animation disappearing after updating to vector_math 2.2.0: replaced deprecated translate/scale Matrix4 calls with translateByDouble/scaleByDouble, passing the correct homogeneous tw=1.0 argument so the transform matrix remains valid.

1.1.2 #

  • Add onQrNotFound callback to QrLensScannerPage — called when an image is picked from the gallery but contains no detectable QR code. Falls back to the built-in snack bar when not provided.

1.1.1 #

  • Fix iOS camera rotation: frames are already in display orientation so ML Kit now receives rotation0deg, correcting corner-coordinate mapping on iOS.

1.1.0 #

  • Add stopStream() and resumeStream() methods to QrLensScannerController for manual camera stream control.
  • Add autoResume parameter to QrLensScannerPage — when false, the scanner stays frozen after a scan until resumeStream() is called manually.
  • Add scanLineAnimationDuration, boxAnimationDuration, and qrMoveAnimationDuration parameters to allow customising animation timing.
  • Extract QrContentWidget as a public standalone widget, now reused by both the default ScannerBox and custom viewFinderBuilder layouts.
  • Fix scanFromFile to show the result directly without running the capture animation.
  • Fix camera stream resume to clear the frozen frame before restarting.

1.0.1 #

  • Rename ScannerPage to QrLensScannerPage.

1.0.0 #

  • Initial release.
  • QR code scanning with live corner tracking overlay.
  • Animated capture feedback with haptic response.
  • Torch/flashlight toggle.
  • Front/back camera switching.
  • Scan history with URL detection.
  • Copy-to-clipboard and URL opening support.
1
likes
160
points
455
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A polished QR code scanner with animated capture overlay, live corner tracking, torch control, scan history, and URL detection. Built on camera and ML Kit.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

camera, flutter, google_mlkit_barcode_scanning, image_picker, permission_handler, qr_flutter, url_launcher

More

Packages that depend on qr_lens