ai_barcode_scanner
A universal AI barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
What this package is like to depend on
Last release 11 months ago
27 Sep 2025
Release timing varies
gaps range from 2 weeks to 9 months
Most releases are documented
notes for 17 of 21 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
22 releases · first in 2022
1 release in the last 12 months
see the full history below
Release timeline
22 releases · Jul 2022 to Sep 2025Releases
latest 22-
7.1.027 Sep 2025Release notes
Open source →- Added child parameter to AiBarcodeScanner
- Bump version to 7.1.0 and update dependencies: mobile_scanner to ^7.1.2 and image_picker to ^1.2.0.
- Introduce a new GalleryButtonType.none option for the gallery button.
- Add support for custom image picker functionality in AiBarcodeScanner and GalleryButton.
- Update your iOS deployment target from 12.0 to 13.0 across multiple files.
-
7.0.006 Jul 2025Release notes
Open source →Improvements:
- Added comprehensive documentation for supported barcode formats including PDF417
- Updated example to demonstrate PDF417 format configuration
- Enhanced README with format configuration examples
- Added Windows platform support documentation and runtime checks
- Added scanning accuracy and best practices documentation
- Added troubleshooting sections for common issues:
- iOS CocoaPods dependency conflicts
- Scanner crashes and black screen issues
- Web mobile compatibility limitations
- Distance scanning accuracy limitations
- Updated example to show proper navigation patterns for auto-closing scanner
- Added orientation handling improvements with
restoreOrientationsOnCloseparameter - Fixed RenderFlex overflow in DraggableSheet widget
Documentation:
- Added comprehensive troubleshooting guide
- Added platform support limitations documentation
- Enhanced usage examples with best practices
- Added known limitations section for dependency-related issues
- Major changes in AiBarcodeScanner class with new parameters and ui improvements, read the migration guide for more details.
-
6.0.111 Oct 2024Release notes
Open source →BREAKING CHANGES BY MOBILE_SCANNER:
- [iOS] iOS 15.5.0 is now the minimum supported iOS version. - [iOS] Updates MLKit to version 7.0.0. - [iOS] Updates the minimum supported XCode version to 15.3.0. Improvements: - [MacOS] Added the corners and size information to barcode results. - [MacOS] Added support for `analyzeImage`. - [MacOS] Added a Privacy Manifest. - [web] Added the size information to barcode results. - [web] Added the video output size information to barcode capture. - Added support for barcode formats to image analysis. - Updated the scanner to report any scanning errors that were encountered during processing. - Introduced a new getter `hasCameraPermission` for the `MobileScannerState`. - Fixed a bug in the lifecycle handling sample. Now instead of checking `isInitialized`, the sample recommends using `hasCameraPermission`, which also guards against camera permission errors. - Updated the behavior of `returnImage` to only determine if the camera output bytes should be sent. - Updated the behavior of `BarcodeCapture.size` to always be provided when available, regardless of `returnImage`. - [iOS] Excluded the `armv7` architecture, which is unsupported by MLKit 7.0.0. - Added a new `onDetectError` error handler to the `MobileScanner` widget, for use with `onDetect`. Bugs fixed: - Fixed a bug that would cause the scanner to emit an error when it was already started. Now it ignores any calls to start while it is starting. - [MacOS] Fixed a bug that prevented the `anaylzeImage()` sample from working properly. - Fixed a bug that would cause onDetect to not handle errors. -
6.0.011 Oct 2024Release notes
Open source →- Dependency updates
- mobile_scanner: ^6.0.1
- setPortraitOrientation bool added. Now you can set the orientation.
-
5.2.229 Sep 2024 -
5.2.130 Aug 2024 -
5.1.125 May 2024 -
5.1.1+127 Jun 2024 -
5.1.1+201 Jul 2024Nothing published for this version
-
3.4.303 Feb 2024Nothing published for this version
-
3.4.203 Feb 2024Nothing published for this version
-
3.4.102 Oct 2023Release notes
Open source →- Jump to 3.4.1 to match the version of mobile_scanner
- Dependency updates
- mobile_scanner: ^3.4.1
- readme updated
- topics added
- Major changes in AiBarcodeScanner class
- allowDuplicates, hintMargin, hintPadding, hintBackgroundColor, errorText and successText removed
- hintWidget => bottomBar
- hintText => bottomBarText
- hintTextStyle => bottomBarTextStyle
- appBar added
-
1.0.0-dev.103 Jul 2023 pre-releaseNothing published for this version
-
0.0.727 Jun 2023 -
0.0.617 Apr 2023 -
0.0.517 Apr 2023Release notes
Open source →- #43 added, Thanks to @MahmoudKhalid
- Readme updated
- mobile_scanner: ^3.2.0 added
- Added validator property, Deprecated validateText and validateType by @MahmoudKhalid
- Added onDispose property by @MahmoudKhalid
-
0.0.422 Feb 2023Release notes
Open source → -
0.0.328 Nov 2022Nothing published for this version
-
0.0.202 Nov 2022 -
0.0.2+115 Nov 2022 -
0.0.127 Jul 2022Release notes
Open source →- Initial release.
- Added a button to turn the LED on and off.
- Added a button to flip the camera.
- Added a hint text.
- Added a barcode validator.
- Added a QR overlay.
-
0.0.1+127 Jul 2022